Posts

Showing posts from June, 2013

to make custom configuration file for distributed netbeans java project

followed the blog at : https://blogs.oracle.com/geertjan/entry/support_for_custom_configuration_files steps: 1. clean and build the project 2. package the project as Mac Os X Application. 3. copy the  project/build/launcher/etc/app.config file to a new file at project/nbproject/ and rename it as my.config. 4. Now, change/add the wanted arguments in a new my.config file. for example, add J-d64 -J-Xms512m -J-Xmx2G to the default_options in the new my.config file. and save it. 5. Add app.conf=nbproject/my.conf to the project.properties file. 6. clean and build the project and package as Mac Os X Application, again. 7. check the project/build/launcher/etc/app.config file. It will have the default options overridden .