mbien commented on PR #8756:
URL: https://github.com/apache/netbeans/pull/8756#issuecomment-3942538362
> NETBEANS_USERDIR=IGNORE doesn't seem to work since it will cause NB
instances started from the terminal to use IGNORE as user dir.
from NB 29 terminal:
```
~/dev/netbeans_29/bin/netbeans README.md
```
Will open the readme in NB 29 (or any dev version of 29 or later), like it
is expected from terminals (so would aliases if you use them etc).
For the next step I recommend to `cd` into `/tmp` to avoid file pollution at
current path:
Now try this again with the opt-out `NETBEANS_USERDIR=IGNORE` set and check
the log:
```
User Directory = /tmp/IGNORE
Cache Directory = /home/mbien/.cache/netbeans/29
```
userdir will be a relative path based on the terminal context path since the
opt out key is influencing NB startup.
NB 28 and below works as before since it doesn't have the launcher changes
yet.
```
~/dev/netbeans_28/bin/netbeans README.md
```
-> the opt out itself has undesired side effects.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[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