Skip to content

Commit

Permalink
require Eclipse 4.25 or newer
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Apr 2, 2024
1 parent ff4a55c commit 22d9589
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
8 changes: 4 additions & 4 deletions build.target
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
</location>

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<!-- Eclipse 2020-09 aka 4.17 is the first release requiring JRE 11 https://wiki.eclipse.org/Eclipse/Installation#Eclipse_4.17_.282020-09.29 -->
<repository location="https://download.eclipse.org/releases/2020-09/"/>
<!-- Eclipse 2022-09 aka 4.25 is the first release requiring JRE 17 https://wiki.eclipse.org/Eclipse/Installation#Eclipse_4.25_.282022-09.29 -->
<repository location="https://download.eclipse.org/releases/2022-09/"/>
<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
</location>

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/eclipse/updates/4.17/"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.25/"/>
<unit id="org.eclipse.test.feature.group" version="0.0.0"/>
</location>

Expand All @@ -30,7 +30,7 @@
<dependency>
<groupId>net.sf.jstuff</groupId>
<artifactId>jstuff-core</artifactId>
<version>7.6.0</version>
<version>7.9.0</version>
<type>jar</type>
</dependency>
</dependencies>
Expand Down
19 changes: 5 additions & 14 deletions feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,25 @@
</url>

<requires>
<import plugin="org.eclipse.platform" version="4.17.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.platform" version="4.25.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.osgi"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.apache.commons.lang3" version="3.12.0" match="greaterOrEqual"/>
<import plugin="de.sebthom.eclipse.commons" version="1.0.0" match="greaterOrEqual"/>
<import plugin="net.sf.jstuff.core" version="7.6.0" match="compatible"/>
<import plugin="net.sf.jstuff.core" version="7.9.0" match="compatible"/>
</requires>

<plugin
id="de.sebthom.eclipse.open_with_eclipse"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="org.apache.commons.lang3"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="net.sf.jstuff.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

</feature>
4 changes: 2 additions & 2 deletions plugin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Bundle-Activator: de.sebthom.eclipse.open_with_eclipse.Plugin
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-17
Bundle-ClassPath: .
Require-Bundle: org.eclipse.platform;bundle-version="4.17.0",
Require-Bundle: org.eclipse.platform;bundle-version="4.25.0",
org.eclipse.core.runtime,
org.eclipse.jdt.annotation;bundle-version="2.0.0";resolution:=optional,
org.eclipse.osgi,
org.eclipse.ui,
org.apache.commons.lang3;bundle-version="3.12.0",
de.sebthom.eclipse.commons;bundle-version="1.0.0",
net.sf.jstuff.core;bundle-version="[7.6.0,8.0.0)"
net.sf.jstuff.core;bundle-version="[7.9.0,8.0.0)"

0 comments on commit 22d9589

Please # to comment.