ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: Ant 1.5.1 on Windows ME
Date Sun, 02 Feb 2003 11:07:33 GMT
DoNOTuseREPLY wrote:
> It may be that winME is like win9x:  %SystemDrive% is NOT defined.  The
> ant.bat script expects it to be and it is on NT and XP because they have
> this environment variable defined.  Type "set" without the quotes at the
> command prompt.  If it is not there, then do "set SystemDrive=<drive>:"
> without the quotes.
> The documentation is silent on this!

There is a bug in ant.bat of Ant 1.5.1 with regard to the Win95/98/ME. It is 
to do with the existence checks.

Change this line
     if exist "%ANT_HOME%" goto checkJava
     if exist "%ANT_HOME%\lib\ant.jar" goto checkJava

The fact that SystemDrive is not defined does not prevent the script working 
(with the above change).

This will be fixed in Ant 1.5.2

If any Win95/98/ME users can confirm this fix, that would be good.


View raw message