|
Re: Extension org.eclipse.fx.osgi doesn't load wit "custom" target platform [message #1359772 is a reply to message #1359754] |
Fri, 16 May 2014 13:47 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Hi,
Is your target platform made up from p2 repos or is it a directory one.
If it is the latter IIRC you need to make sure that the
org.eclipse.fx.osgi fragment is PHYSICALLY located next to the
org.eclipse.osgi-jar!
Tom
On 16.05.14 15:37, Christoph Keimel wrote:
> Hello
>
> I want to integrate the org.eclipse.fx.* plugins into our target
> environment. We want to use efxclipse together with equinox, so I used
> the New -> Project -> JavaFX -> OSGi Application Project as a template.
> This works great, when I use a simple target platform pointing to the
> "Target Platform Feature 0.9.0.xxx" from
> http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
> Configuration location:
>
> file:/D:/GosaEntwicklung/WorkspaceJavaFX/.metadata/.plugins/org.eclipse.pde.core/de.emsw.gosa.fx.osgitest.app.product.product/
>
> Configuration file:
>
> file:/D:/GosaEntwicklung/WorkspaceJavaFX/.metadata/.plugins/org.eclipse.pde.core/de.emsw.gosa.fx.osgitest.app.product.product/config.ini
> loaded
> Install location:
> file:/D:/GosaEntwicklung/Export/fxtarget/
> Framework located:
>
> file:/D:/GosaEntwicklung/Export/fxtarget/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
>
> Loading extension: org.eclipse.fx.osgi
> eclipse.properties not found
> Framework classpath:
>
> file:/D:/GosaEntwicklung/Export/fxtarget/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
>
> file:/D:/GosaEntwicklung/Export/fxtarget/plugins/
>
> file:/D:/GosaEntwicklung/Export/fxtarget/plugins/org.eclipse.fx.osgi_0.9.0.201401250701.jar
>
> Debug options:
> file:/C:/Tools/eclipse-SDK-4.3.2-win32-efx-0.9.0/.options not found
> Time to load bundles: 93
> Starting application: 604
> Application Started: 617
>
> I then exported the plugins to manualy integrate them into our custom
> target platform. Although I took great care to update everything, I
> can't get the org.eclipse.fx.osgi extension to load on startup.
>
> What could be the problem here? I don't see any errors in the "Target
> Platform State"-View. What are the requirements for org.eclipse.fx.osgi
> (except an existing host plug-in of course)?
>
> (Side note: I didn't include fx.core.guice and it's dependencies, but
> that should matter ... or does it?)
>
> Configuration location:
>
> file:/D:/GosaEntwicklung/WorkspaceJavaFX/.metadata/.plugins/org.eclipse.pde.core/de.emsw.gosa.fx.osgitest.app.product.product/
>
> Configuration file:
>
> file:/D:/GosaEntwicklung/WorkspaceJavaFX/.metadata/.plugins/org.eclipse.pde.core/de.emsw.gosa.fx.osgitest.app.product.product/config.ini
> loaded
> Install location:
> file:/D:/GitRepos/gosa/lib/Target/launcher/
> Framework located:
>
> file:/D:/GitRepos/gosa/lib/Target/eclipse/org.eclipse.osgi_3.9.1.v20130814-1242.jar
>
> Framework classpath:
>
> file:/D:/GitRepos/gosa/lib/Target/eclipse/org.eclipse.osgi_3.9.1.v20130814-1242.jar
>
> Debug options:
> file:/C:/Tools/eclipse-SDK-4.3.2-win32-efx-0.9.0/.options not found
> !SESSION 2014-05-16 15:17:58.610
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.8.0_05
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de
> Framework arguments: -product de.emsw.gosa.fx.osgitest.app.product
> Command-line arguments: -product de.emsw.gosa.fx.osgitest.app.product
> -data
> D:\GosaEntwicklung\WorkspaceJavaFX/../runtime-de.emsw.gosa.fx.osgitest.app.product
> -dev
> file:D:/GosaEntwicklung/WorkspaceJavaFX/.metadata/.plugins/org.eclipse.pde.core/de.emsw.gosa.fx.osgitest.app.product.product/dev.properties
> -os win32 -ws win32 -arch x86 -consoleLog -debug
>
> !ENTRY org.eclipse.osgi 4 0 2014-05-16 15:17:58.917
> !MESSAGE Bundle org.eclipse.fx.osgi not found.
> Time to load bundles: 94
> Starting application: 579
>
> !ENTRY org.eclipse.equinox.app 4 0 2014-05-16 15:17:59.195
> !MESSAGE Plug-in "de.emsw.gosa.fx.osgitest.app" was unable to
> instantiate class "de.emsw.gosa.fx.osgitest.app.MainApplication".
> !STACK 0
> org.eclipse.core.runtime.CoreException: Plug-in
> "de.emsw.gosa.fx.osgitest.app" was unable to instantiate class
> "de.emsw.gosa.fx.osgitest.app.MainApplication".
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
>
> at
> org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
>
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: javafx/scene/Parent
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2658)
> at java.lang.Class.getConstructor0(Class.java:2964)
> at java.lang.Class.newInstance(Class.java:403)
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
>
> ... 6 more
> Caused by: java.lang.ClassNotFoundException: javafx.scene.Parent cannot
> be found by de.emsw.gosa.fx.osgitest.app_1.0.0.qualifier
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 11 more
>
>
> Thanks for any pointers!
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03558 seconds