Skip to content

Commit

Permalink
Include cdt-lsp in the CDT.setup (#786)
Browse files Browse the repository at this point in the history
- Configure the JRE for Java 21.
- Clone cdt-lsp
- Include its source locator in the targlet
- Configure both clones to rebase new branches by default.
- Add a working set for the CDT LSP projects.
  • Loading branch information
merks committed May 14, 2024
1 parent 01a5438 commit c1fdc48
Showing 1 changed file with 46 additions and 3 deletions.
49 changes: 46 additions & 3 deletions releng/CDT.setup
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
</setupTask>
<setupTask
xsi:type="jdt:JRETask"
version="JavaSE-17"
location="${jre.location-17}">
version="JavaSE-21"
location="${jre.location-21}">
<description>Define the JRE needed to compile and run the Java projects of ${scope.project.label}</description>
</setupTask>
<setupTask
Expand Down Expand Up @@ -186,15 +186,49 @@
</detail>
<detail
key="label">
<value>CDT Github Repository</value>
<value>CDT GitHub Repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<configSections
name="branch">
<properties
key="autoSetupRebase"
value="always"/>
</configSections>
<description>CDT</description>
</setupTask>
<setupTask
xsi:type="git:GitCloneTask"
id="github.clone.cdt-lsp"
remoteURI="eclipse-cdt/cdt-lsp"
checkoutBranch="master">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>CDT LSP GitHub Repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<configSections
name="branch">
<properties
key="autoSetupRebase"
value="always"/>
</configSections>
<description>CDT LSP</description>
</setupTask>
<setupTask
xsi:type="setup.targlets:TargletTask"
programArguments="-consolelog"
Expand Down Expand Up @@ -229,6 +263,9 @@
<sourceLocator
rootFolder="${github.clone.cdt.location}"
locateNestedProjects="true"/>
<sourceLocator
rootFolder="${github.clone.cdt-lsp.location}"
locateNestedProjects="true"/>
<repositoryList>
<repository
url="https://download.eclipse.org/cbi/updates/license"/>
Expand Down Expand Up @@ -368,6 +405,12 @@
project="org.eclipse.cdt"
relativePathPattern="llvm/.*"/>
</workingSet>
<workingSet
name="CDT LSP">
<predicate
xsi:type="predicates:RepositoryPredicate"
project="org.eclipse.cdt.lsp"/>
</workingSet>
<workingSet
name="CDT Memory">
<predicate
Expand Down

0 comments on commit c1fdc48

Please sign in to comment.