Thursday, October 21, 2010

Simple windows batch job to delete files and run an ant job

del /Q C:\Apache\Jetspeed-2.2.0\work


del /Q C:\Apache\Jetspeed-2.2.0\webapps\securemail.war

rmdir /Q C:\Apache\Jetspeed-2.2.0\webapps\securemail

set JAVA_HOME=C:\tools\java\jdk1.6.0_22

ant -f C:\work\workspace1\iris\securemail\presentation\buildscripts\build.xml publish deploy-jetspeed-2.2