Skip to content

Commit 861bc44

Browse files
committed
Include cdt-lsp in the CDT.setup
- 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.
1 parent 01a5438 commit 861bc44

File tree

1 file changed

+46
-3
lines changed

1 file changed

+46
-3
lines changed

releng/CDT.setup

+46-3
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
</setupTask>
6868
<setupTask
6969
xsi:type="jdt:JRETask"
70-
version="JavaSE-17"
71-
location="${jre.location-17}">
70+
version="JavaSE-21"
71+
location="${jre.location-21}">
7272
<description>Define the JRE needed to compile and run the Java projects of ${scope.project.label}</description>
7373
</setupTask>
7474
<setupTask
@@ -186,15 +186,49 @@
186186
</detail>
187187
<detail
188188
key="label">
189-
<value>CDT Github Repository</value>
189+
<value>CDT GitHub Repository</value>
190190
</detail>
191191
<detail
192192
key="target">
193193
<value>remoteURI</value>
194194
</detail>
195195
</annotation>
196+
<configSections
197+
name="branch">
198+
<properties
199+
key="autoSetupRebase"
200+
value="always"/>
201+
</configSections>
196202
<description>CDT</description>
197203
</setupTask>
204+
<setupTask
205+
xsi:type="git:GitCloneTask"
206+
id="github.clone.cdt-lsp"
207+
remoteURI="eclipse-cdt/cdt-lsp"
208+
checkoutBranch="master">
209+
<annotation
210+
source="http://www.eclipse.org/oomph/setup/InducedChoices">
211+
<detail
212+
key="inherit">
213+
<value>github.remoteURIs</value>
214+
</detail>
215+
<detail
216+
key="label">
217+
<value>CDT LSP GitHub Repository</value>
218+
</detail>
219+
<detail
220+
key="target">
221+
<value>remoteURI</value>
222+
</detail>
223+
</annotation>
224+
<configSections
225+
name="branch">
226+
<properties
227+
key="autoSetupRebase"
228+
value="always"/>
229+
</configSections>
230+
<description>CDT LSP</description>
231+
</setupTask>
198232
<setupTask
199233
xsi:type="setup.targlets:TargletTask"
200234
programArguments="-consolelog"
@@ -229,6 +263,9 @@
229263
<sourceLocator
230264
rootFolder="${github.clone.cdt.location}"
231265
locateNestedProjects="true"/>
266+
<sourceLocator
267+
rootFolder="${github.clone.cdt-lsp.location}"
268+
locateNestedProjects="true"/>
232269
<repositoryList>
233270
<repository
234271
url="https://download.eclipse.org/cbi/updates/license"/>
@@ -368,6 +405,12 @@
368405
project="org.eclipse.cdt"
369406
relativePathPattern="llvm/.*"/>
370407
</workingSet>
408+
<workingSet
409+
name="CDT LSP">
410+
<predicate
411+
xsi:type="predicates:RepositoryPredicate"
412+
project="org.eclipse.cdt.lsp"/>
413+
</workingSet>
371414
<workingSet
372415
name="CDT Memory">
373416
<predicate

0 commit comments

Comments
 (0)