You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "rma-sjn (via GitHub)" <gi...@apache.org> on 2025/11/07 22:02:49 UTC
Re: [D] Multiple instances [netbeans]
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 notifications@netbeans.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@netbeans.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists