Skip to content

Commit

Permalink
Fix build failure in standalone debugger application
Browse files Browse the repository at this point in the history
* Correct the requirements according to the latest target platform
* Move to requiring Java 17
* Enable the profile in the Jenkinsfile to verify it builds
  • Loading branch information
mbooth101 committed Oct 25, 2022
1 parent eb1d5d1 commit c1269a9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pipeline {
-Ddsf.gdb.tests.timeout.multiplier=50 \
-Dindexer.timeout=300 \
-P production \
-P build-standalone-debugger-rcp \
-Dmaven.repo.local=/home/jenkins/.m2/repository \
--settings /home/jenkins/.m2/settings.xml \
"
Expand Down
34 changes: 19 additions & 15 deletions debug/org.eclipse.cdt.debug.application.product/debug.product
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?pde version="3.5"?>

<!--
Copyright (c) 2015, 2021 Contributors to the Eclipse Foundation
Copyright (c) 2015, 2022 Contributors to the Eclipse Foundation
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
Expand All @@ -11,7 +11,7 @@
SPDX-License-Identifier: EPL-2.0
-->
<product name="Stand-alone C/C++ GDB Debugger" uid="org.eclipse.cdt.debug.application.product" id="org.eclipse.cdt.debug.application.product" application="org.eclipse.cdt.debug.application.app" version="11.0.0.qualifier" useFeatures="false" includeLaunchers="true">
<product name="Stand-alone C/C++ GDB Debugger" uid="org.eclipse.cdt.debug.application.product" id="org.eclipse.cdt.debug.application.product" application="org.eclipse.cdt.debug.application.app" version="11.0.0.qualifier" useFeatures="false" includeLaunchers="true" autoIncludeRequirements="true">

<aboutInfo>
<image path="/org.eclipse.cdt.debug.application/icons/about.png"/>
Expand All @@ -26,11 +26,11 @@
<launcherArgs>
<programArgs>-data @noDefault
</programArgs>
<vmArgsLin>-Xms100m -Xmx512m -Dosgi.requiredJavaVersion=11
<vmArgsLin>-Xms100m -Xmx512m -Dosgi.requiredJavaVersion=17
</vmArgsLin>
<vmArgsMac>-Xms100m -Xmx512m -XstartOnFirstThread -Dosgi.requiredJavaVersion=11 -Dorg.eclipse.swt.internal.carbon.smallFonts
<vmArgsMac>-Xms100m -Xmx512m -XstartOnFirstThread -Dosgi.requiredJavaVersion=17 -Dorg.eclipse.swt.internal.carbon.smallFonts
</vmArgsMac>
<vmArgsWin>-Xms100m -Xmx512m -Dosgi.requiredJavaVersion=11
<vmArgsWin>-Xms100m -Xmx512m -Dosgi.requiredJavaVersion=17
</vmArgsWin>
</launcherArgs>

Expand All @@ -46,10 +46,9 @@
</launcher>

<vm>
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</linux>
<macos include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</macos>
<solaris include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</solaris>
<windows include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</windows>
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17</linux>
<macos include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17</macos>
<windows include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17</windows>
</vm>

<license>
Expand Down Expand Up @@ -194,7 +193,7 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
<plugin id="javax.annotation"/>
<plugin id="javax.el"/>
<plugin id="javax.inject"/>
<plugin id="javax.servlet.jsp"/>
<plugin id="javax.servlet.jsp-api"/>
<plugin id="javax.xml"/>
<plugin id="javax.xml.stream"/>
<plugin id="org.apache.batik.constants"/>
Expand Down Expand Up @@ -288,6 +287,7 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
<plugin id="org.eclipse.e4.ui.dialogs"/>
<plugin id="org.eclipse.e4.ui.ide"/>
<plugin id="org.eclipse.e4.ui.model.workbench"/>
<plugin id="org.eclipse.e4.ui.progress"/>
<plugin id="org.eclipse.e4.ui.services"/>
<plugin id="org.eclipse.e4.ui.swt.gtk" fragment="true"/>
<plugin id="org.eclipse.e4.ui.widgets"/>
Expand Down Expand Up @@ -375,7 +375,6 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
<plugin id="org.eclipse.osgi.compatibility.state" fragment="true"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.eclipse.osgi.util"/>
<plugin id="org.eclipse.pde.ds.lib"/>
<plugin id="org.eclipse.search"/>
<plugin id="org.eclipse.swt"/>
<plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
Expand Down Expand Up @@ -406,7 +405,16 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
<plugin id="org.eclipse.ui.workbench.texteditor"/>
<plugin id="org.eclipse.urischeme"/>
<plugin id="org.freemarker"/>
<plugin id="org.osgi.service.cm"/>
<plugin id="org.osgi.service.component"/>
<plugin id="org.osgi.service.device"/>
<plugin id="org.osgi.service.event"/>
<plugin id="org.osgi.service.metatype"/>
<plugin id="org.osgi.service.prefs"/>
<plugin id="org.osgi.service.provisioning"/>
<plugin id="org.osgi.service.upnp"/>
<plugin id="org.osgi.service.useradmin"/>
<plugin id="org.osgi.service.wireadmin"/>
<plugin id="org.osgi.util.function"/>
<plugin id="org.osgi.util.measurement"/>
<plugin id="org.osgi.util.position"/>
Expand All @@ -433,10 +441,6 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U

<repositories>
<repository location="http://download.eclipse.org/tools/cdt/builds/master/nightly/rcp-repository" enabled="true" />
<repository location="http://download.eclipse.org/tools/cdt/builds/master/nightly/rcp-repository" enabled="true" />
<repository location="http://download.eclipse.org/tools/cdt/builds/master/nightly/rcp-repository" enabled="true" />
<repository location="http://download.eclipse.org/tools/cdt/builds/master/nightly/rcp-repository" enabled="true" />
<repository location="http://download.eclipse.org/tools/cdt/builds/master/nightly/rcp-repository" enabled="true" />
</repositories>

<preferencesInfo>
Expand Down

0 comments on commit c1269a9

Please sign in to comment.