1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00

Include cdt-lsp in the CDT.setup (#786)

- 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.
This commit is contained in:
Ed Merks 2024-05-14 16:49:13 +02:00 committed by GitHub
parent 01a5438e55
commit c1fdc48156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
@ -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"
@ -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"/>
@ -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