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