How to invoke a RCP Standalone APP with JAVA Code [message #436921] |
Tue, 20 September 2005 09:11 |
Eclipse User |
|
|
|
Originally posted by: sheng.clanfang.com
Hello everyone, IŽm developing a RCP APP, I'd like to invoke it form a
java program, there're two ways:
A first one is using the <code>Runtime</code> class to invoke the
excuteble(.exe) of the RCP application directly;
A second one is to call the the <code>Main</code> Class of the
<code>org.eclipse.core.laucher</code> which contained in the
<code>org.eclipse.platform</code> plugin, with this way, I'd should pass a
series arguments for the call.
My question is, What are the necesary arguments for second way.
Thanks in advance.
Sheng Fang
|
|
|
|
|
|
Re: How to invoke a RCP Standalone APP with JAVA Code [message #437049 is a reply to message #436930] |
Wed, 21 September 2005 09:01 |
Eclipse User |
|
|
|
Originally posted by: sheng.clanfang.com
Your idea would be good. But I need the Eclipse RCP to run a
eclipse-plugin, this is the real one which I want to integrate into my
JAVA APP, and to modify the whole JAVA-APP to be under the Eclipse
Standard will terrible.
Any suggestion?
|
|
|
|
Re: How to invoke a RCP Standalone APP with JAVA Code [message #437132 is a reply to message #437116] |
Thu, 22 September 2005 08:48 |
Eclipse User |
|
|
|
Originally posted by: reg.sheng.clanfang.com
Paul Webster wrote:
> What about calling into org.eclipse.core.launcher.Main#main(args) or
> org.eclipse.core.launcher.Main#run(args)? It didn't look like they
> launched a new JVM, but I didn't check to deeply.
> Later,
> PW
org.eclipse.core.launcher.Main#main(args), this is the method which I'm
calling to now, it truely create a new VM.
|
|
|
Powered by
FUDForum. Page generated in 0.03121 seconds