|
|
|
|
|
|
|
|
|
|
Re: Running OSGi Console [message #1634926 is a reply to message #1634574] |
Wed, 25 February 2015 14:26 |
Christian Ora Messages: 20 Registered: May 2014 |
Junior Member |
|
|
I added
<fx:platform>
<fx:jvmarg value="-Xms0m"/>
<fx:jvmarg value="-Xmx0m"/>
</fx:platform>
which should produce an Error(Couldn't create Java Virtual Machine),
but after deploying via build.xml the applications starts as usual.
I also tried to monitor the jvm of the deployed product via jps, to see if jvm args(with proper values) are passed, but it said that the process information was unavailable.
Also , when i call Platform.getCommandlineArgs() or Application.getParameters(), the List is empty. Do you think it is possible that there might be a bug ?
[Updated on: Wed, 25 February 2015 14:26] Report message to a moderator
|
|
|
|
|
Re: Running OSGi Console [message #1667950 is a reply to message #1634962] |
Thu, 12 March 2015 09:05 |
Christian Ora Messages: 20 Registered: May 2014 |
Junior Member |
|
|
A small update: It is possible to pass at least VM-Arguments by modifying the package.cfg file in the deployed product:
app.mainjar=plugins\org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
app.version=1.0
app.id=fxApplication
app.preferences.id=fxApplication
app.mainclass=org/eclipse/equinox/launcher/Main
jvmarg.1= -vmargument
app.classpath=
It took me quite long to figure that out, so i though it might be helpful to mention it here.
[Updated on: Thu, 12 March 2015 10:10] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03658 seconds