Guru
2018-07-16 14:58:48 UTC
Hi,
I was using Tyco 1.0.0 and bundling javafx (OSGi Adaptor) with MANIFEST.MF as
----
Bundle-ClassPath: .,
external:$java.home$/lib/ext/jfxrt.jar,
external:$java.home$/lib/jfxswt.jar,
external:$java.home$/lib/javafx-swt.jar
ââ
Compilation fails (Only on Windows works fine on Linux and OS X) if I upgrade to Tyco 1.1.0 or with 1.2.0 as
----
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.2.0:compile (default-compile) on project org.openjdk.jmc.javafx.osgi: Fatal error compiling: Illegal char <:> at index 74: D:\ade\jmc-releng-dev\jmc\application\org.openjdk.jmc.javafx.osgi\external:$java.home$\lib\ext\jfxrt.jar -> [Help 1]
â
Compilation succeeds with replacing : with ; but during run time
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javafx/embed/swt/FXCanvas
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:423)
Searched bugs.eclipse.org <http://bugs.eclipse.org/> didnât find any clue.
Thanks,
Guru
I was using Tyco 1.0.0 and bundling javafx (OSGi Adaptor) with MANIFEST.MF as
----
Bundle-ClassPath: .,
external:$java.home$/lib/ext/jfxrt.jar,
external:$java.home$/lib/jfxswt.jar,
external:$java.home$/lib/javafx-swt.jar
ââ
Compilation fails (Only on Windows works fine on Linux and OS X) if I upgrade to Tyco 1.1.0 or with 1.2.0 as
----
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.2.0:compile (default-compile) on project org.openjdk.jmc.javafx.osgi: Fatal error compiling: Illegal char <:> at index 74: D:\ade\jmc-releng-dev\jmc\application\org.openjdk.jmc.javafx.osgi\external:$java.home$\lib\ext\jfxrt.jar -> [Help 1]
â
Compilation succeeds with replacing : with ; but during run time
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javafx/embed/swt/FXCanvas
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:423)
Searched bugs.eclipse.org <http://bugs.eclipse.org/> didnât find any clue.
Thanks,
Guru