This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes How to make war file through ant script? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "How to make war file through ant script?" Watch "How to make war file through ant script?" New topic
Author

How to make war file through ant script?

Syed Saifuddin
Ranch Hand

Joined: Sep 01, 2003
Posts: 127
How to make war file through ant script?

Is the script is a .bat file or .xml file ?

Where to put the script file in the ant folder?

Please reply with sample script ?

Thanks in Advance


Thank You & Best Regards,

Syed Saifuddin,
Senior Software Engineer

SAP Oracle AIX & Java Training
http://www.socialinet.com
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Have you looked at the Ant documentation? There's a "war" task specifically for this type of thing!

Oh, and don't double-post! Delete your other one.
[ June 25, 2004: Message edited by: Nathaniel Stoddard ]

Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
IntelliJ Java IDE
 
subject: How to make war file through ant script?
 
Threads others viewed
Doubt related to deployment
How to generate Ant build script?
servlets
Regarding war file export in eclipseWTP1.5
deploying to Websphere 5.1 from the ant acript
developer file tools