NetBeans Forums

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

Setting default_options in conf of maven based nbp app

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
heidtmare



Joined: 15 Oct 2009
Posts: 55

PostPosted: Wed Mar 24, 2010 4:02 pm    Post subject: Setting default_options in conf of maven based nbp app Reply with quote

How do i set the default_options that will be put into the conf file when i compile my Maven based Netbeans Platform application?
Back to top
Milos Kleint
Posted via mailing list.





PostPosted: Wed Mar 24, 2010 4:33 pm    Post subject: [platform-dev] Re: Setting default_options in conf of maven based nbp app Reply with quote

you can either useĀ http://mojo.codehaus.org/nbm-maven-plugin/run-platform-mojo.html#additionalArguments
for stuff you only want to set when developing.
or you pass your own conf file to the build
http://mojo.codehaus.org/nbm-maven-plugin/cluster-app-mojo.html#etcConfFile


Milos

On Wed, Mar 24, 2010 at 4:02 PM, heidtmare <address-removed ([email]address-removed[/email])> wrote:
Quote:
How do i set the default_options that will be put into the conf file when i compile my Maven based Netbeans Platform application?




Back to top
heidtmare



Joined: 15 Oct 2009
Posts: 55

PostPosted: Wed Mar 24, 2010 6:23 pm    Post subject: Reply with quote

http://mojo.codehaus.org/nbm-maven-plugin/cluster-app-mojo.html#etcConfFile
Cant seem to find a usage example on the site.
Back to top
Milos Kleint
Posted via mailing list.





PostPosted: Wed Mar 24, 2010 6:27 pm    Post subject: [platform-dev] Re: Setting default_options in conf of maven based nbp app Reply with quote

what sort of usage example? it's just the usual maven stuff. in the <configuration> element of the nbm-maven-plugin, add the appropriate parameter and point to the file that you have somewhere in the project.

milos

On Wed, Mar 24, 2010 at 6:24 PM, heidtmare <address-removed ([email]address-removed[/email])> wrote:
Quote:
http://mojo.codehaus.org/nbm-maven-plugin/cluster-app-mojo.html#etcConfFile

Cant seem to find a usage example on the site.




Back to top
heidtmare



Joined: 15 Oct 2009
Posts: 55

PostPosted: Wed Mar 24, 2010 7:08 pm    Post subject: Reply with quote

Ii was just trying to see if i should put it in the parent pom or the application pom. I'm good now. Thanks
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