X

Geertjan's Blog

  • November 10, 2010

Consolidating Actions for Maven Based NetBeans Platform Applications (Part 2)

Geertjan Wielenga
Product Manager
In part 1, you were able to build all the modules when running the application. But what about if you want to remove the user directory (i.e., cause a reset of the application to its default settings)?
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>run</actionName>
<preAction>build-with-dependencies</preAction>
<goals>
<goal>clean</goal>
<goal>package</goal>
<goal>nbm:run-platform</goal>
</goals>
</action>
</actions>

The larger the application gets, the more likely the above will slow down the start up sequence. However, via this action you will be able to ensure that you see the default settings for everything in your application.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.