NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Fabrizio Giudici Posted via mailing list.
|
Posted: Mon Oct 12, 2009 9:58 pm Post subject: Configuration file and nbm-maven-plugin |
|
|
I see that the nbm-maven-plugin generates a configuration file together
with the platform:
fritz% cat target/forceten/etc/forceten.conf
# ${HOME} will be replaced by user home directory according to platform
default_userdir="${HOME}/.forceten/dev"
default_mac_userdir="${HOME}/Library/Application Support/forceten/dev"
# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="-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
<dir> switch
#jdkhome="/path/to/jdk"
# clusters' paths separated by path.separator (semicolon on Windows,
colon on Unices)
#extra_clusters=
Is is possible to automatically override these properties ? I mean, to
have the plugin generating the desired values. In particular, I need to
change the memory settings.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
address-removed - mobile: +39 348.150.6941 |
|
| Back to top |
|
 |
mkleint Posted via mailing list.
|
Posted: Tue Oct 13, 2009 5:23 am Post subject: Configuration file and nbm-maven-plugin |
|
|
http://mojo.codehaus.org/nbm-maven-plugin/cluster-app-mojo.html#etcConfFile
you can define your own conf file as well as clusters file. Or the
binaries if you need a different lot.
Milos
Fabrizio Giudici wrote:
| Quote: | I see that the nbm-maven-plugin generates a configuration file
together with the platform:
fritz% cat target/forceten/etc/forceten.conf
# ${HOME} will be replaced by user home directory according to platform
default_userdir="${HOME}/.forceten/dev"
default_mac_userdir="${HOME}/Library/Application Support/forceten/dev"
# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="-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
<dir> switch
#jdkhome="/path/to/jdk"
# clusters' paths separated by path.separator (semicolon on Windows,
colon on Unices)
#extra_clusters=
Is is possible to automatically override these properties ? I mean, to
have the plugin generating the desired values. In particular, I need
to change the memory settings.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|