How do I build a war file with Ant?
Author: Deron Eriksson
Description: This tutorial describes how to use Ant to build a war (web archive) file.
Tutorial created using: Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 1.5.1
(Continued from page 2)
If we run the warW target, the results of the execution are shown in the console.
After running the war target, in our Navigator view we can see that the build directory was created, and the tomcat-demo.war was created in the build directory.