A work-around solution would be a cmd file with following content (you probably have to remove the environment variable JAVA_HOME) :
Code:
set JAVA_HOME=D:\jdk1.3.1_01
set ANT_HOME=D:\Java\soft\jakarta-ant-1.4.1
set path=%path%;%ANT_HOME%\bin;%JAVA_HOME%\bin
cd C:\java\projects\... ==> your source-directory
ant -buildfile C:\Java\ant-scripts\build.xml
pause
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.