Join the DZone community and get the full member experience.Join For Free
// Ah Ant. How I love thee, how much better a build tool // than my ex build tool Make. // // This is my current starting build.xml Ant script for any // Java project. It specifies my usual directories, it will // build source code, make a Jar, build a War, clean up build // products, create Javadoc, and even run unit tests. // // Notice that I use the JReleaseInfo library to automatically // generate a Java class that contains version numbers, build // numbers, etc. Be sure to put the Jar from that library in // the library directory to get that feature: // http://jreleaseinfo.sourceforge.net/
Opinions expressed by DZone contributors are their own.