This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Building a war in eclipse using ant Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Building a war in eclipse using ant" Watch "Building a war in eclipse using ant" New topic
Author

Building a war in eclipse using ant

Suresh Herumb
Greenhorn

Joined: Jan 22, 2010
Posts: 2
Hello guys

I am newbie to web dev. Could anybody tell me how to build a war file in eclipse using ant?
Thanks in advance!

sur
Oleg Tikhonov
Ranch Hand

Joined: Aug 02, 2008
Posts: 55
Hi,
Ant has a war task.

Here is a fragment of the build.xml file


Hope it helps,
Oleg.
Suresh Herumb
Greenhorn

Joined: Jan 22, 2010
Posts: 2
Hi Oleg,

Thanks for the help, I didn't find time to try that.. I will and come back to you

Thanks again
Suree
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Building a war in eclipse using ant
 
Similar Threads
Eclipse - exporting files in WAR file
diff between war file created by Ant and eclipse
Building a .WAR file
how to create a war file in eclipse2.1 to deploy in tomcat 5.5
Struts2 with tomcat 6 unable to deploy war