This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
It's also that ANT, being a general purpose build tool, can do a lot of other things as well. The manager tasks are usually part of a larger build process that can involve pulling from CVS/SVN, compiling, FTPing, packaging apps into jar and war files, running unit tests, etc...
Having the ability to deploy and un-deploy apps directly into Tomcat from your build script means that, for many people, the entire build, test, and deploy process can be accomplished with one command. [ September 01, 2007: Message edited by: Ben Souther ]
Originally posted by Tauri Valor: Can someone pls throw some light ?
Welcome to JavaRanch!
In an effort to help you get the most from our forums, we've compiled a list of tips for asking questions here. You can find the list in our FAQ section here. In particular please see: UseRealWords
Abbreviations such as "u" or "ur" in place of "you" and "you are" or "you're" confound language translation software making it hard for our non-English speaking members to read your posts. "plz" is not a word in the English language.
Again, welcome to JavaRanch and good luck with your question. -Ben [ September 01, 2007: Message edited by: Ben Souther ]
Joined: Aug 03, 2005
Sorry Ben! I lost my association with ranch for a long time. Thanks for reminding me the discipline on Javaranch
Not a problem. Did the other post answer your question?
Joined: Aug 03, 2005
Having the ability to deploy and un-deploy apps directly into Tomcat from your build script means that, for many people, the entire build, test, and deploy process can be accomplished with one command.
Ben dont you think we can do the same with a .bat ?
You probably could but it would be a lot harder. It also, as Jan Cumps mentioned, would only work on Windows.
One of the reasons people choose Java is that it is platform independent. It is very common for people to develop their apps on a Mac or an other operating system but test and deploy on Linux, Solaris, or some other flavor of Unix.
With Ant, you don't need to write multiple versions of the build script.