----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


Reply via email to