Here is the sample for using ANT to download the code automatically from the SVN server side and automatically compile and package to jar file.