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.
I can’t see the instructions, how come?
soli soli, coz I just copy paste the instruction, since html cannot display “<" and ">“, so it need to replace with excape character. 🙂
Interesting to know.
I don't have a build.xml file in my project. What do I do?
netbeans IDE create it automatically when you create a web project, try recreate your project.