GitHub user rma-sjn added a comment to the discussion: Multiple instances

I solved this problem recently by writing a C/C++ program the executes my 
netbeans application. First it looks in the .conf file for the userdir 
parameter, then it looks to see if there is a lock file in the userdir folder.  
The lock file signifies an instance of NB platform running.  If there is a lock 
file then it executes netbeans with the --userdir directory and passing a new 
"temporary" folder to use, othwerise I execute without the --userdir.  Don't 
know if that is the best solution, but it doesn't involve users editing conf 
files or passing in parameters and seems pretty automated.

GitHub link: 
https://github.com/apache/netbeans/discussions/6729#discussioncomment-14907198

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to