Only one instance of my RCP product [message #674627] |
Fri, 27 May 2011 15:43 |
|
Hi,
I've developed an RCP product that actually is in beta test phase; now I have to limit the running copies of the product to only one per time:
- how can I do this?
- where I have to put the related code in my RCP product?
Thank you very much, any help is appreciated
Regards,
Giovanni
|
|
|
|
|
|
|
Re: Only one instance of my RCP product [message #676998 is a reply to message #676984] |
Tue, 07 June 2011 08:58 |
Eclipse User |
|
|
|
Originally posted by:
On 2011-06-07 09:46, Giovanni De Sossi wrote:
> Thank you Joerg, unfortunately it seems not to work......
Presumably you are not using the lock API correctly. You should ensure
that you do it similarly to how class
org.eclipse.ui.internal.ide.application.IDEApplication does this within
its method checkInstanceLocation.
HTH & Greetings from Bremen,
Daniel Krügler
|
|
|
Powered by
FUDForum. Page generated in 5.04185 seconds