From 4e40dda89f6e58d15b6e4aaf843cc4a2f1006966 Mon Sep 17 00:00:00 2001 From: Ed Merks Date: Fri, 12 Aug 2022 12:04:56 +0200 Subject: [PATCH] Improve CDT's setup Include a configuration, simplify the targlet for the target platform, and enhance the working sets based on folder structure. https://github.com/eclipse-cdt/cdt/issues/39 --- .../META-INF/MANIFEST.MF | 3 +- .../META-INF/MANIFEST.MF | 3 +- releng/CDT.setup | 312 ++++++++++++------ releng/CDTConfiguration.setup | 50 +++ 4 files changed, 271 insertions(+), 97 deletions(-) create mode 100644 releng/CDTConfiguration.setup diff --git a/debug/org.eclipse.cdt.debug.application.tests/META-INF/MANIFEST.MF b/debug/org.eclipse.cdt.debug.application.tests/META-INF/MANIFEST.MF index 8f522bd1702..204d39b42fa 100644 --- a/debug/org.eclipse.cdt.debug.application.tests/META-INF/MANIFEST.MF +++ b/debug/org.eclipse.cdt.debug.application.tests/META-INF/MANIFEST.MF @@ -14,7 +14,8 @@ Require-Bundle: org.eclipse.cdt.debug.application, org.eclipse.cdt.core.native Bundle-ActivationPolicy: lazy Bundle-Localization: plugin -Import-Package: org.eclipse.cdt.utils.pty, +Import-Package: org.apache.log4j;version="1.2.19", + org.eclipse.cdt.utils.pty, org.eclipse.core.resources, org.eclipse.debug.core Export-Package: org.eclipse.cdt.debug.application.tests;x-internal:=true diff --git a/launchbar/org.eclipse.launchbar.ui.tests/META-INF/MANIFEST.MF b/launchbar/org.eclipse.launchbar.ui.tests/META-INF/MANIFEST.MF index 789df36a54b..aa458078b71 100644 --- a/launchbar/org.eclipse.launchbar.ui.tests/META-INF/MANIFEST.MF +++ b/launchbar/org.eclipse.launchbar.ui.tests/META-INF/MANIFEST.MF @@ -12,6 +12,7 @@ Require-Bundle: org.eclipse.ui, Bundle-RequiredExecutionEnvironment: JavaSE-11 Bundle-ActivationPolicy: lazy Import-Package: org.eclipse.launchbar.ui.controls.internal, - org.junit.jupiter.api;version="5.8.1" + org.junit.jupiter.api;version="5.8.1", + org.slf4j Automatic-Module-Name: org.eclipse.launchbar.ui.tests Bundle-Localization: plugin diff --git a/releng/CDT.setup b/releng/CDT.setup index f1c8a142f72..5ce3156a4bc 100644 --- a/releng/CDT.setup +++ b/releng/CDT.setup @@ -11,9 +11,15 @@ xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0" xmlns:setup.targlets="http://www.eclipse.org/oomph/setup/targlets/1.0" xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0" - xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/setup/pde/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/PDE.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore" + xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0" + xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/setup/pde/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/PDE.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore" name="cdt" label="CDT"> + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + url="https://download.eclipse.org/cbi/updates/license"/> + url="https://download.eclipse.org/egit/updates-nightly"/> + url="https://download.eclipse.org/linuxtools/updates-docker-nightly"/> + url="https://download.eclipse.org/lsp4e/releases/latest"/> + url="https://download.eclipse.org/modeling/emf/emf/builds/nightly/latest"/> + url="https://download.eclipse.org/tm4e/releases/latest"/> + url="https://download.eclipse.org/tools/cdt/releases/latest"/> + url="https://download.eclipse.org/tools/orbit/downloads/drops/R20201118194144/repository"/> - - - - - We explicitly have CDT in target platform so that developers can develop org.eclipse.cdt.core/ui without requiring all the projects from CDT in their workspace. - - - - + url="https://download.eclipse.org/tools/orbit/downloads/drops/R20220531185310/repository"/> + url="https://download.eclipse.org/technology/swtbot/releases/latest"/> + + xsi:type="setup.workingsets:WorkingSetTask" + id="cdt.workingsets"> + + + + + + + project="org.eclipse.cdt" + relativePathPattern="build/.*"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The dynamic working sets for ${scope.project.label} diff --git a/releng/CDTConfiguration.setup b/releng/CDTConfiguration.setup new file mode 100644 index 00000000000..c040817b449 --- /dev/null +++ b/releng/CDTConfiguration.setup @@ -0,0 +1,50 @@ + + + + + https://www.eclipse.org/downloads/images/cdt.png + + + CDT + + + + + + The CDT installation provides the latest tools needed to work with the Eclipse C/C++ Development Tools' source code. + + + + The CDT workspace provides the source code of the Eclipse C/C++ Development Tools. + + + <p> + The <a href="https://www.eclipse.org/cdt/"/>Eclipse C/C++ Development Tools</a> configuration provisions a dedicated development environment + for the complete set of source projects of the <a href="https://projects.eclipse.org/projects/tools.cdt">CDT project</a>. + </p> + <p> + All the source projects from <a href="https://github.com/eclipse-cdt">CDT's Github Repositories</a> + are available, organized into working sets, and ready for contribution. + </p> + </p> + Please <a href="https://wiki.eclipse.org/Eclipse_Platform_SDK_Provisioning">read the analogous tutorial instructions</a> for the Eclipse Platform SDK's configuration for more details. + </p> + +