mbien commented on PR #8756:
URL: https://github.com/apache/netbeans/pull/8756#issuecomment-3414528134

   Wasn't able to catch up with this PR until now. I might have overlooked 
something while reading through the comments, but was the alias idea considered 
or dropped at some point?
   
   Plain old java could initialize the terminal with an alias command (e.g 
`nb`) which sets whatever flags are needed, e.g userhome, jdkhome etc. No 
messing with the user's path, no need to change the launchers and the opt-out 
would become less important too since the risks/side effects of an alias are 
much lower. (the exe postfix on cygwin would also become a non-issue)
   
   As Neil already mentioned, this could develop into a separate little feature 
in future since NB could open the terminal init script up to users (analog to 
`~/.bashrc` etc).
   
   I actually got reminded of this PR today while testing RC1 using aliases. 
This allows me to detach the config, caches and test projects from the zip - 
even the launcher itself in a portable way funny enough 
([link](https://github.com/mbien/nb-launcher)).
   
   IMHO: The launchers are beyond hope by now, i wouldn't touch them unless 
something breaks again. The motivation getting fixes in is already fairly low 
according to the comment history of PRs like 
https://github.com/apache/netbeans/pull/7908 ;)


-- 
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

Reply via email to