I'm having problem with the standalone RCP application with RMI, specifically on -Djava.rmi.server.codebase.
From Eclipse, I usually just use your "RMI Codebase Editor" to create a list of library dependencies for rmi.server.codebase. Then when the RCP application is exported to the standalone mode, all the -vmargs are put into <application>.ini.
The application I'm trying to execute requires multiple libraries, however this <application>.ini does not seem to handle multiple libraries.
For example,
Working case:
-vmargs
-Djava.security.policy=security.policy
-Djava.rmi.server.codebase=file:/plugins/helloworld_1.0.0.jar
Bad case:
-vmargs
-Djava.security.policy=security.policy
-Djava.rmi.server.codebase="file:/plugins/helloworld_1.0.0.jar file:/plugins/org.eclipse.ui_3.2.1.M20060913-0800.jar file:/plugins/org.eclipse.swt_3.2.1.v3235e.jar"
From Eclipse, the 2nd (bad) case works.
I read that <application>.ini has special syntax of not recognizing spaces
but is there any way to work around it?
Thanks for your help!