NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Configuration file and nbm-maven-plugin

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Fabrizio Giudici
Posted via mailing list.





PostPosted: Mon Oct 12, 2009 9:58 pm    Post subject: Configuration file and nbm-maven-plugin Reply with 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.

--
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.





PostPosted: Tue Oct 13, 2009 5:23 am    Post subject: Configuration file and nbm-maven-plugin Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo