I have an e4 RCP app that uses GEF. GEF needs OpenJFX for the JavaFX packages. Getting it set up in the Eclipse IDE requires installing the e(fx)clipse feature to handle the JavaFX packages. To make it work on Tycho, I've been really struggling. I feel like there should be a simple p2 repo or maven dependency can provide these dependencies.
Right now, this is the only solution, but it seems like a total hack and is also not portable since I have to use absolute local paths to the jars.
Suggestions?
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<encoding>UTF-8</encoding>
<extraClasspathElements>
<extraClasspathElement>
<groupId>com.oracle</groupId>
<artifactId>javafx-swt</artifactId>
<version>11.0.2-SNAPSHOT</version>
<systemPath>/Users/ken/openjfx/javafx-sdk-11.0.2/lib/javafx-swt.jar</systemPath>
<scope>system</scope>
</extraClasspathElement>
<extraClasspathElement>
<groupId>com.oracle</groupId>
<artifactId>javafx-base</artifactId>
<version>11.0.2-SNAPSHOT</version>
<systemPath>/Users/ken/openjfx/javafx-sdk-11.0.2/lib/javafx.graphics.jar</systemPath>
<scope>system</scope>
</extraClasspathElement>
<extraClasspathElement>
<groupId>com.oracle</groupId>
<artifactId>javafx-base</artifactId>
<version>11.0.2-SNAPSHOT</version>
<systemPath>/Users/ken/openjfx/javafx-sdk-11.0.2/lib/javafx.base.jar</systemPath>
<scope>system</scope>
</extraClasspathElement>
</extraClasspathElements>
</configuration>
</plugin>
Thanks,