Disable create a war/jar file in Netbeans6

To disable generation of a WAR file for a project:
1 . In the Files window, open your project folder and open build.xml.
2 . Override the do-dist target to have no contents and no dependencies. For example, add the following to build.xml:
<target name=”do-dist”/>

To disable generation of a JAR file for a project:
1 . In the Files window, open your project folder and open build.xml.
2 . Override the jar target to have no contents and no dependencies. For example, add the following to build.xml:
<target name=”jar”/>

*Information is getting from Netbeans help file.

 

dicksonkho

 

5 thoughts on “Disable create a war/jar file in Netbeans6

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.