DIApplication doesn't start on Mac [message #1706207] |
Mon, 24 August 2015 17:28  |
Eclipse User |
|
|
|
Hi
I was setting up a development environment on a Mac this weekend (for the first time) and imported a DIApplication project I had already created on Windows. The project was created using the JavaFX/OSGI/OSGi Application Project wizard with the option of using Eclipse DI.
On windows the application starts up fine showing the initial stage. On Mac I can see Equinox starting up logging debug info. If I enable the console I can use it, i.e. "ss" lists the bundles. The Stage is never shown. It seems to me as if @PostConstruct on MainApplication is never called.
The plugin.xml looks like it should:
<plugin>
<extension id="application" point="org.eclipse.core.runtime.applications">
<application thread="any" cardinality="*" visible="true" >
<run class="org.eclipse.fx.ui.di.DIApplication" >
<parameter name="mainClass" value="de.kware.app.loginDisplay.MainApplication" />
</run>
</application>
</extension>
<extension id="product" point="org.eclipse.core.runtime.products">
<product application="de.kware.app.loginDisplay.application" name="LoginDisplay" >
<property name="appName" value="LoginDisplay" />
</product>
</extension>
</plugin>
And the product is configured to start this application. The launching vom arguments are on the Mac (on Windows only the first argument is used).
-Dorg.osgi.framework.bundle.parent=ext
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
Could this be an issue with javax.annotation? I do not import javax.annotation in the MANIFEST.MF. The product has javax.annotation.jre as a dependency.
Or is this a configuration issue?
Thanks for your help!
Christoph
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02617 seconds