Ant Build Tool : Quick Notes

Ant Build Tool : Quick Notes

Ant Script for JAVA Developers

1) Simple Ant Script for Clean , Compile and jar generation adding Manifest information to jar

Note :- All folder path are relative to basedir . Here is basedir=”.”
Note :- the values at class-path are separated by space

2) Using Property in Ant Script

3) Reading From Property File

4) Current Time Stamp in Ant Script

5) Directory Opertaions
Make dir

6) Ant Script and Svn

SVN Checkout

Note :- for https:/ type svn
7)File uploads and Ant Script

8) Variable of Varible in Ant Scipt

9)creating war and zip file in ant script

10) Creating Custom Ant Tasks

Required Jar files for ant’s different task
antlr-runtime-3.1.3.jar commons-net.jar ganymed.jar jna.jar
jsch-0.1.44.jar sqljet.1.0.4.jar svnant.jar svnClientAdapter.jar
svnjavahl.jar svnkit.jar svnkit-cli.jar
svnkit-javahl.jar trilead.jar

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.