Bug 394199 - Impossible to start several product instances of e4 rcp applications
Summary: Impossible to start several product instances of e4 rcp applications
Status: CLOSED DUPLICATE of bug 330135
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: E4 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-13 10:46 EST by Max Paulsen CLA
Modified: 2012-12-13 15:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Paulsen CLA 2012-11-13 10:46:03 EST
I tried to start my e4 rcp application a 2nd time, a messagebox appeared saying:
----------------------------
Workspace Cannot Be Locked

Could not launch the product because the associated workspace is currently in use by another Eclipse application.
----------------------------

In the constructor of the Activator I added some lines of code:

Location instanceLocation = Platform.getInstanceLocation();

If I try to change the instanceLocation using set() method, the box appears (Workspace Cannot Be Locked)

these are my program arguments for the product:
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -data @noDefault

Maybe I missed something, I cannot get the product running twice

Regards,
Max
Comment 1 Paul Webster CLA 2012-11-13 11:44:54 EST

*** This bug has been marked as a duplicate of bug 330135 ***