How to correctly deploy an e4 application that uses e(fx)clipse? [message #1385218] |
Thu, 05 June 2014 00:11  |
Eclipse User |
|
|
|
In a normal (SWT) e4 application I can export my product to a directory containing a native executable file that runs my application.
I'm developing an e4 application using e(fx)clipse and I'm following the same steps in order to have a runnable executable file. However, when I run the .exe file, I got the following error in a popup:
The Eclipse executable launcher was unable to locate its companion shared library.
After a quick search on the web, I notice that this happens because the project is not exporting native shared libraries like the "org.eclipse.equinox.launcher.win32.win32.*" for Windows. I tried to add this as a plugin (or fragment?) in my e(fx)clipse product/feature but it's not being listed in the available plugins.
I created an empty e4 project and if I search for the same plugin, it's there. So this might have something to do with the Target Platform (which is different for the e(fx)clipse - see e(fx)clipse tutorial [1]).
I also created an empty e(fx)clipse e4 project and exported the product. I get the same error when I run the executable. I had the idea to copy the folder "org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212" that the normal e4 application generated and for my surprise it worked in the empty e(fx)clipse application.
However, my "src/main/resources" folder is embedded in the jar file. I don't want this because there are configuration files there.
This is kinda confusing. So what's a good approach to deploy an e4 application using the e(fx)clipse platform?
Thanks in advance.
[1]: https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03859 seconds