Calling a RCP program from another RCP [message #660443] |
Fri, 18 March 2011 13:21 |
tk Messages: 26 Registered: April 2010 |
Junior Member |
|
|
I have a simple RCP program(programA.exe) that calls another RCP program(programB.exe) using Runtime call:
Runtime.getRuntime().exec("programB.exe");
Strangely enough, when programA.exe calls programB.exe, it starts itself rather than programB.exe. Does anybody know why? If I call other non-RCP windows program it works fine. It happens when a RCP is called from another RCP.
When I run that line in Eclipse during debugging session, another Eclipse instance starts instead (not programA or programB.exe). Isn't it strange?
Thanks.
[Updated on: Fri, 18 March 2011 13:21] Report message to a moderator
|
|
|
Re: Calling a RCP program from another RCP [message #660662 is a reply to message #660443] |
Sun, 20 March 2011 20:35 |
tk Messages: 26 Registered: April 2010 |
Junior Member |
|
|
After some tests I found that if a called RCP application(programB.exe) is created with 'Generate metadata repository' checked during exporting a RCP application, this is happening. If I uncheck 'Generate metadata repository' during product export, it works fine.
Why is it so? Does anybody know how to resolve this?
I'm using Helios, and both programA.exe and programB.exe are P2 enabled.
.
[Updated on: Tue, 22 March 2011 00:59] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03335 seconds