@echo off
set JAVA_HOME=d:\j2sdk1.4.2_03
set JAVA=%JAVA_HOME%\bin\java
set CP=lib\ant.jar;lib\ant-optional.jar;%JAVA_HOME%\lib\tools.jar
%JAVA% -classpath %CP% -Dant.home=lib org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 -buildfile build.xml