Defining NetBeans 6.7 Actions Externally In Maven2 2.2.1
All: We just upgraded from Maven1 1.0.2 to Maven2 2.2.1 and from NetBeans 5.5 to NetBeans 6.7. With our previous setup we could specify NetBeans 5.5 actions in the Maven1 1.0.2 build.properties file as follows: maven.netbeans.exec.debug.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:debug-class maven.netbeans.exec.run.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:run-class maven.netbeans.exec.rebuild=clean web-deploy-nowar maven.netbeans.exec.build=web-deploy-nowar and the corresponding menu selections in NetBeans 5.5 would use these actions instead of the built in actions. Is it possible to also specify NetBeans 6.7 actions externally in the Maven2 2.2.1 profiles.xml (or pom.xml or settings.xml) file? If so, which specific NetBeans 6.7 action attributes are available and how are these declared? Thanks, Rick -- View this message in context: http://old.nabble.com/Defining-NetBeans-6.7-Actions-Externally-In-Maven2-2.2.1-tp26413299p26413299.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Defining NetBeans 6.7 Actions Externally In Maven2 2.2.1
http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions Milos On Wed, Nov 18, 2009 at 7:37 PM, rickbryant rick.bry...@gxs.com wrote: All: We just upgraded from Maven1 1.0.2 to Maven2 2.2.1 and from NetBeans 5.5 to NetBeans 6.7. With our previous setup we could specify NetBeans 5.5 actions in the Maven1 1.0.2 build.properties file as follows: maven.netbeans.exec.debug.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:debug-class maven.netbeans.exec.run.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:run-class maven.netbeans.exec.rebuild=clean web-deploy-nowar maven.netbeans.exec.build=web-deploy-nowar and the corresponding menu selections in NetBeans 5.5 would use these actions instead of the built in actions. Is it possible to also specify NetBeans 6.7 actions externally in the Maven2 2.2.1 profiles.xml (or pom.xml or settings.xml) file? If so, which specific NetBeans 6.7 action attributes are available and how are these declared? Thanks, Rick -- View this message in context: http://old.nabble.com/Defining-NetBeans-6.7-Actions-Externally-In-Maven2-2.2.1-tp26413299p26413299.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Defining NetBeans 6.7 Actions Externally In Maven2 2.2.1
Milos, Thanks for your reply and we are already aware of how to bind NetBeans/Maven actions within the NetBeans application. However, instead of configuring NetBeans for this we want to be able to do the same thing declaratively using properties in the external Maven profiles.xml file. We have done this successfully in the past with NetBeans 5.5/Maven 1.0.2 and just need to know if it can be done with the latest version of these applications. Thanks, Rick Bugzilla from mkle...@gmail.com wrote: http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions Milos On Wed, Nov 18, 2009 at 7:37 PM, rickbryant rick.bry...@gxs.com wrote: All: We just upgraded from Maven1 1.0.2 to Maven2 2.2.1 and from NetBeans 5.5 to NetBeans 6.7. With our previous setup we could specify NetBeans 5.5 actions in the Maven1 1.0.2 build.properties file as follows: maven.netbeans.exec.debug.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:debug-class maven.netbeans.exec.run.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:run-class maven.netbeans.exec.rebuild=clean web-deploy-nowar maven.netbeans.exec.build=web-deploy-nowar and the corresponding menu selections in NetBeans 5.5 would use these actions instead of the built in actions. Is it possible to also specify NetBeans 6.7 actions externally in the Maven2 2.2.1 profiles.xml (or pom.xml or settings.xml) file? If so, which specific NetBeans 6.7 action attributes are available and how are these declared? Thanks, Rick -- View this message in context: http://old.nabble.com/Defining-NetBeans-6.7-Actions-Externally-In-Maven2-2.2.1-tp26413299p26413299.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://old.nabble.com/Defining-NetBeans-6.7-Actions-Externally-In-Maven2-2.2.1-tp26413299p26414750.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Defining NetBeans 6.7 Actions Externally In Maven2 2.2.1
sorry, there is no such way, not an supported one. You can surely configure a project to have something executed with a given configuration via profiles, but I suppose that is not what you are looking for. Maven2 is different from m1 and also the ide integration became more elaborate. Some properties you can set, like IDE's deployment server, JDK platform to use or similar, but it became unpractical for action bindings.. Milos On Wed, Nov 18, 2009 at 9:05 PM, rickbryant rick.bry...@gxs.com wrote: Milos, Thanks for your reply and we are already aware of how to bind NetBeans/Maven actions within the NetBeans application. However, instead of configuring NetBeans for this we want to be able to do the same thing declaratively using properties in the external Maven profiles.xml file. We have done this successfully in the past with NetBeans 5.5/Maven 1.0.2 and just need to know if it can be done with the latest version of these applications. Thanks, Rick Bugzilla from mkle...@gmail.com wrote: http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions http://wiki.netbeans.org/MavenBestPractices#Binding_Maven_goals_to_IDE_actions Milos On Wed, Nov 18, 2009 at 7:37 PM, rickbryant rick.bry...@gxs.com wrote: All: We just upgraded from Maven1 1.0.2 to Maven2 2.2.1 and from NetBeans 5.5 to NetBeans 6.7. With our previous setup we could specify NetBeans 5.5 actions in the Maven1 1.0.2 build.properties file as follows: maven.netbeans.exec.debug.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:debug-class maven.netbeans.exec.run.single=-Dmaven.mevenide.run.classname=%CLASS% java:compile mevenide:run-class maven.netbeans.exec.rebuild=clean web-deploy-nowar maven.netbeans.exec.build=web-deploy-nowar and the corresponding menu selections in NetBeans 5.5 would use these actions instead of the built in actions. Is it possible to also specify NetBeans 6.7 actions externally in the Maven2 2.2.1 profiles.xml (or pom.xml or settings.xml) file? If so, which specific NetBeans 6.7 action attributes are available and how are these declared? Thanks, Rick -- View this message in context: http://old.nabble.com/Defining-NetBeans-6.7-Actions-Externally-In-Maven2-2.2.1-tp26413299p26413299.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://old.nabble.com/Defining-NetBeans-6.7-Actions-Externally-In-Maven2-2.2.1-tp26413299p26414750.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org