Pregunta

I have a Maven Netbeans Application I want to modify its configuration. What do I need to do to change startup parameters from the conf file like: default_options?

I have to manually do it but would like to make it part of the build process.

¿Fue útil?

Solución

You will have to create a netbeans.conf file in your nbm-application project and point the nbm-maven-plugin to it's location - please see http://mojo.codehaus.org/nbm-maven/nbm-maven-plugin/cluster-app-mojo.html#etcConfFile

Otros consejos

Create your own ProjectName.conf, for example from default ProjectName.conf file.
Next place it in nbproject folder.
And add to project.conf line like this:

app.conf=nbproject/ProjectName.conf

Support for Custom Configuration Files in NetBeans

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top