|
|
Re: Problems building e4 application [message #1705361 is a reply to message #1705345] |
Fri, 14 August 2015 07:05 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
On 14.08.15 03:36, Greg Babcock wrote:
> I have had a very good experience building my first e(fx)clipse e4
> application, but I am having problems deploying it (The same problems I
> have deploying the template application).
> The first problem is that maven would not resolve the extra classpath
> element "javafx:javafx.mvn:2.2.0-SNAPSHOT". When I removed this
> element maven was able to successfully package the product. My
> suspicion from reading blogs is that this was a workaround for javafx 2
> and is not required for java 8. Is this correct?
yes but to me it does not do any harm. I filed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=474944 to remove it.
>
> The second problem is that ANT is throwing an exception when iscc
> attempts to create an executable. From the error message and the stack
> trace it looks like the problem is that it can't find the .ico file.
> Since iscc is looking for the icon in a temp directory that it created,
> it must copy the file there in an earlier step from the maven target.
> The template has the same problem, and it does not provide a .ico file,
> so this would tell me that one is not required. As you can see I am
> very confused.
>
> [fx:deploy] java.io.IOException: Exec failed with code 2 command
> [[C:\Program Files (x86)\Inno Setup 5\iscc.exe,
> /oD:\Trader\com.tas.spc.releng\deploy\bundles,
> C:\Users\babcock\AppData\Local\Temp\fxbundler3912358433828408761\images\win-exe.image\com.tas.spc.product.iss]
> in
> C:\Users\babcock\AppData\Local\Temp\fxbundler3912358433828408761\images\win-exe.image
>
> [fx:deploy] at com.oracle.tools.packager.IOUtils.exec(IOUtils.java:165)
> [fx:deploy] at
> com.oracle.tools.packager.IOUtils.exec(IOUtils.java:138).
I'll try to reproduce that. Can you give me you version JDK used to run
ant and inno-setup?
> How can I launch the application from the command line, as a
> workaround. I was not able to figure out how using Google.
> Thank you,
>
java -jar \
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
Maybe you also need:
java -jar \
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar \
-config configuration
Tom
|
|
|
|
Powered by
FUDForum. Page generated in 0.05815 seconds