Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Calling a RCP program from another RCP(Very weird behavior)
Calling a RCP program from another RCP [message #660443] Fri, 18 March 2011 13:21 Go to next message
tk  is currently offline tk Friend
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 Go to previous message
tk  is currently offline tk Friend
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

Previous Topic:"bundleentry:defaults_ps.gif" could not be extracted probably due to insufficient permissi
Next Topic:Google Map for RCP Application
Goto Forum:
  


Current Time: Sat Apr 27 01:28:38 GMT 2024

Powered by FUDForum. Page generated in 0.03335 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top