Hi all,
for the most frustating limitation is that in the .conf-file only
${HOME} are ${APPNAME} are substituted. A typical situation in a university
context is that
the size of the home-directories are limited because they are saved on a shared
harddisk. In
this case I want to switch for the nebeans platform app to an other self
defined local folder
which subfolders for each user. To do this I need the possibility to
substititue other
environment variables in the conf-file. It would be great to make this
possible.
best regards
Oliver
> Hi all,
>
> What do you think on the idea to create a simple Java agent which can
> insert system properties into the JVM before NetBeans starts?
>
> My motivation are the following:
>
> 1. Sometimes you need to change some properties to debug NetBeans
> behaviour. Copy and change netbeans.conf can be clumsy. (Ok, I know
> what I'm doing and it is fine for me, but we have other users.)
> 2. There can be a situation when some values needs to be computed, like
> Java 11 were messing up with font rendering on Linux and there is no
> proper default value for the antialiasing property which works on
> all platform. Also dpi awareness for HiDPI would requires some logic
> as well.
>
> Unfortunately this won't solve the currently quiet bloated command line
> in netbeans.conf (just probably reduce it a bit.)
> It would be good to be able to set the Memory and GC flags for the IDE
> as well (though memory would be sufficient)
>
> What do you think?