Ant, NetBeans Platform project - how to pass command line arguments and access via System.getProperties?

There is a folder etc in the distribution of your RCP app and in that folder is file yourapp. Conf I think there is an answer you seek. For example from one of mine NB RCP app.

There is a folder etc in the distribution of your RCP app and in that folder is file yourapp. Conf I think there is an answer you seek. For example from one of mine NB RCP app: # ${HOME} will be replaced by user home directory according to platform default_userdir="${HOME}/.

${APPNAME}/dev" default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/dev" # options used by the launcher by default, can be overridden by explicit # command line switches default_options="--laf Metal --branding xmled -J-Xms24m -J-Xmx64m" # for development purposes you may wish to append: -J-Dnetbeans.logger. Console=true -J-ea # default location of JDK/JRE, can be overridden by using --jdkhome switch #jdkhome="/path/to/jdk" # clusters' paths separated by path. Separator (semicolon on Windows, colon on Unices) #extra_clusters.

I don't see this folder. (and doing a grep for these strings i.e. Default_options turns up nothing).

Is this only if you've created an installer? – I82Much Feb 24 at 18:31 build zip dist for example and look inside there is etc/{name of your application}.conf. I guess you didn't substituted name of your application when used grep.So if your application is called Dune name of the file will be Dune.conf.

The folder just have to be there. – Daniel Kec Feb 25 at 17:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions