ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: cvs commit: jakarta-ant/src/script ant.bat
Date Sun, 02 Feb 2003 06:27:59 GMT

----- Original Message -----
From: <conor@apache.org>
To: <jakarta-ant-cvs@apache.org>
Sent: Saturday, February 01, 2003 21:34
Subject: cvs commit: jakarta-ant/src/script ant.bat


> conor       2003/02/01 21:34:21
>
>   Modified:    src/script ant.bat
>   Log:
>   Fix ant.bat for Win95/98/ME users - check for existence of ant.jar

There has been some ant-user discussion about win9x boxes not having
SystemDrive defined. Is this the case? The fact that it is a mixed-case
variable hints that it is an NT value.

As an aside, life would be so much easier if we could drop win9x support :)

>    rem check for ant in Program Files on system drive
>    if not exist "%SystemDrive%\Program Files\ant" goto checkSystemDrive
>   @@ -38,13 +38,13 @@

>    :checkSystemDrive
>    rem check for ant in root directory of system drive
>   -if not exist %SystemDrive%\ant\nul goto checkCDrive
>   +if not exist %SystemDrive%\ant\lib\ant.jar goto checkCDrive
>    set ANT_HOME=%SystemDrive%\ant
>    goto checkJava



Mime
View raw message