ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <KBa...@responsenetworks.com>
Subject RE: interesting ant.bat problem...you need to have a classpath sp ecif ied
Date Thu, 26 Oct 2000 15:28:06 GMT
What kind of failure are you getting?  Because in NT, I don't have a
CLASSPATH variable defined and Ant works fine.  I know there are differences
in how .bat files behave on win2K, so that may be it.  

K.C.

> -----Original Message-----
> From: Mikkel Bruun [mailto:mikkel.bruun@valtech.dk]
> Sent: Thursday, October 26, 2000 11:24 AM
> To: 'ant-dev@jakarta.apache.org'
> Subject: interesting ant.bat problem...you need to have a classpath
> specif ied
> 
> 
> 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