Skip to content

Commit

Permalink
JMC-6370: JMC build fails with OpenJDK 8 due to missing javafx packag…
Browse files Browse the repository at this point in the history
…es in org.openjdk.jmc.javafx.osgi

Summary: Updates dependency on OpenJFX to build on OpenJDK 8
Contributed-by: Jie Kang <[email protected]>
Reviewed-by: ghb, Christoph Langer <[email protected]>
  • Loading branch information
Josh-Matsuoka committed Jan 29, 2019
1 parent 4b0aa86 commit 771abcd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,6 @@
version="0.0.0"
unpack="false"/>

<plugin
id="org.openjdk.jmc.javafx.osgi"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.openjdk.jmc.flightrecorder.rules.extensionprovider"
download-size="0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Bundle-Localization: plugin
Require-Bundle: org.openjdk.jmc.rjmx,
org.openjdk.jmc.flightrecorder;visibility:=reexport,
org.openjdk.jmc.ui;visibility:=reexport,
org.openjdk.jmc.javafx.osgi,
org.openjdk.jmc.flightrecorder.rules,
org.openjdk.jmc.flightrecorder.rules.jdk,
org.openjdk.jmc.flightrecorder.configuration,
Expand Down
6 changes: 6 additions & 0 deletions application/org.openjdk.jmc.javafx.osgi/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Bundle-Vendor: Oracle Corporation
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ClassPath: .
Eclipse-BuddyPolicy: app
Import-Package: javafx.application,
javafx.embed.swt,
javafx.fxml,
javafx.scene,
javafx.scene.control,
javafx.scene.image
Export-Package: org.openjdk.jmc.javafx.osgi
Require-Bundle: org.eclipse.swt;resolution:=optional,
org.eclipse.jface
Expand Down
23 changes: 0 additions & 23 deletions application/org.openjdk.jmc.javafx.osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,4 @@
</parent>
<artifactId>org.openjdk.jmc.javafx.osgi</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<excludes>
<exclude>**/Empty.java</exclude>
</excludes>
<extraClasspathElements>
<dependency>
<groupId>sun.jdk</groupId>
<artifactId>jfxswt</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/lib/jfxswt.jar</systemPath>
</dependency>
</extraClasspathElements>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 771abcd

Please sign in to comment.