I had no idea nbexec can handle multiline values in netbeans.conf like that. So this should work for all launchers?
Note that right now netbeans.conf is not really generated (minus a small part), it's stored in git like that, with a huge line for netbeans_default_options. --emi On Mon, Nov 25, 2019 at 9:05 PM Tim Boudreau <[email protected]> wrote: > > Not sure if my previous post was clear enough. Here is part of my > netbeans.conf copy/pasted: > > netbeans_default_options=" > -J-DCachingArchiveProvider.disableCtSym=true > -J-Dsun.java2d.opengl=true > -J-XX:+IgnoreUnrecognizedVMOptions > --fontsize 16 > -J-Dawt.useSystemAAFontSettings=lcd_hrgb > -J-Xmx2G > -J-Xms1280M > -J-Dsun.awt.disableMixing=true > -J-Dnetbeans.winsys.statusLine.in.menuBar=true > -J-XX:+UseStringDeduplication > -J-Djdk.lang.Process.allowAmbiguousCommands=true > -J-Xss2m > -J-Dnetbeans.logger.console=true > -J-ea > -J-Djdk.gtk.version=2.2 > -J-Dsun.java2d.dpiaware=true > ... > > In other words, if the problem you want to solve is diffing the contents of > this variable, the simple solution is to *have the build process generate > it with each option or pair of options on a separate line* - which works > perfectly well. No need to do anything fancier than that, and the result > will be diff-friendly without needing word-diffs or similar. > > -Tim --------------------------------------------------------------------- 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
