Product export problems [message #1709757] |
Wed, 30 September 2015 17:30 |
Eclipse User |
|
|
|
Hi,
I'm trying to export my e4 JavaFX application. The output directory is correctly created, it contains the JRE and the native launcher (.exe).
Unfortunately, when I try to run the native launcher, a popup appears indicating :
Quote:
The MyApp executable launcher was unable to locate its companion shared library.
My product is configured like this :
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="FAST" uid="FASTProduct" id="com.myapp.product" application="org.eclipse.fx.ui.workbench.fx.application" version="1.0.0" useFeatures="true" includeLaunchers="true">
<configIni use="default">
</configIni>
<launcherArgs>
<vmArgs>-Dorg.osgi.framework.bundle.parent=ext
</vmArgs>
</launcherArgs>
<splash
location="com.myapp"
startupProgressRect="5,275,445,15" />
<launcher name="FAST">
<solaris/>
<win useIco="false">
</win>
</launcher>
<vm>
<macos include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
<windows include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
</vm>
<plugins>
</plugins>
<features>
<feature id="com.myapp.feature"/>
<feature id="org.eclipse.fx.runtime.e4fx.feature"/>
</features>
<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
</configurations>
<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>
<cssInfo>
</cssInfo>
</product>
I have another question (according to this bug), why I can't select the Generate p2 repository export option in my Eclipse Product export wizard ?
Any help appreciated!
|
|
|
Re: Product export problems [message #1709760 is a reply to message #1709757] |
Wed, 30 September 2015 17:49 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Hi,
a) e4 JavaFX questions should be asked at the efxclipse forum
b) the efxclipse target platform we provide does not include the native
launcher artifacts so you need to add them manually to your build
Tom
On 30.09.15 19:30, Thibault Pensec wrote:
> Hi,
> I'm trying to export my e4 JavaFX application. The output directory is
> correctly created, it contains the JRE and the native launcher (.exe).
> Unfortunately, when I try to run the native launcher, a popup appears
> indicating :
> Quote:
>> The MyApp executable launcher was unable to locate its companion
>> shared library.
>
>
> My product is configured like this :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?pde version="3.5"?>
>
> <product name="FAST" uid="FASTProduct" id="com.myapp.product"
> application="org.eclipse.fx.ui.workbench.fx.application" version="1.0.0"
> useFeatures="true" includeLaunchers="true">
>
> <configIni use="default">
> </configIni>
>
> <launcherArgs>
> <vmArgs>-Dorg.osgi.framework.bundle.parent=ext
> </vmArgs>
> </launcherArgs>
>
> <splash
> location="com.myapp"
> startupProgressRect="5,275,445,15" />
> <launcher name="FAST">
> <solaris/>
> <win useIco="false">
> </win>
> </launcher>
>
> <vm>
> <macos
> include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
>
> <windows
> include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
>
> </vm>
>
> <plugins>
> </plugins>
>
> <features>
> <feature id="com.myapp.feature"/>
> <feature id="org.eclipse.fx.runtime.e4fx.feature"/>
> </features>
>
> <configurations>
> <plugin id="org.eclipse.core.runtime" autoStart="true"
> startLevel="0" />
> <plugin id="org.eclipse.equinox.common" autoStart="true"
> startLevel="2" />
> <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
> <plugin id="org.eclipse.equinox.event" autoStart="true"
> startLevel="2" />
> <plugin id="org.eclipse.equinox.simpleconfigurator"
> autoStart="true" startLevel="1" />
> <plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
> </configurations>
>
> <preferencesInfo>
> <targetfile overwrite="false"/>
> </preferencesInfo>
>
> <cssInfo>
> </cssInfo>
>
> </product>
>
>
> I have another question (according to this
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=309758), why I can't
> select the Generate p2 repository export option in my Eclipse Product
> export wizard ?
> Any help appreciated!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03470 seconds