ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Bruun <mikkel.br...@valtech.dk>
Subject interesting ant.bat problem...you need to have a classpath specif ied
Date Thu, 26 Oct 2000 15:23:37 GMT
Hi guys!

Ran into a small problem (ant 1.2, win2k, jdk1.3)
Apparently you have to have CLASSPATH defined in your enviroment settings or
else the following line from the ant.bat will fail:

---------->
%JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" %ANT_OPTS%
org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
<-----------
As the local path is "" which java.exe apparently cant handle...

Now I know that most people (99.9%) already has a CLASSPATH setting so it
isnt really a problem...

Workaround? just add a CLASSPATH having it point to some directory...

regards
Mikkel Bruun
mikkel.bruun@valtech.dk


Mime
View raw message