This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 32083 - Do not allow two netbeans to use the same userdir
Summary: Do not allow two netbeans to use the same userdir
Status: CLOSED DUPLICATE of bug 32054
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords: ARCH
Depends on:
Blocks: 30370
  Show dependency tree
 
Reported: 2003-03-18 13:09 UTC by Jaroslav Tulach
Modified: 2008-12-22 20:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2003-03-18 13:09:18 UTC
As part of the Arch review:

> q: what happens if several instances are run
using the same userdir?
> problems?
> a: right :-)
> q: a warning should be displayed to the user!
Comment 1 Jaroslav Tulach 2003-03-18 13:13:37 UTC
I suggest the launcher (or java part) to create a special file in the
user directory on startup and deleteOnExit() it. This could indicate
that a user is running the same NetBeans twice and could warn him. 

Moreover the file could contain a number of port on which the first
NetBeans are listening and use it to communicate any commands (move
main window to front, open command) to it. 

Comment 2 Jesse Glick 2003-03-18 13:35:02 UTC

*** This issue has been marked as a duplicate of 32054 ***
Comment 3 Marian Mirilovic 2003-07-23 09:30:39 UTC
verified, closed - it's duplicate.