Question

How can I create a war file of my project in NetBeans?

How can I create a war file of my project in NetBeans?

 45  122038  45
1 Jan 1970

Solution

 53

It's possible that you already have a war file and don't know it - netbeans does most of the work for you and I believe it creates a distributable war file by default. If you created a web project and successfully built it, it will be in the "dist" directory off your project root.

2009-06-18

Solution

 34

As DPA says, the easiest way to generate a war file of your project is through the IDE. Open the Files tab from your left hand panel, right click on the build.xml file and tell it what type of ant target you want to run.

NetBeans - Create a WAR file

2013-09-16