Conor- How about stripping off the Drive Letter from %SystemRoot% ??? -Martin
----- Original Message ----- From: "Conor MacNeill" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Sunday, February 02, 2003 7:07 AM Subject: Re: Ant 1.5.1 on Windows ME > 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 > to > 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. > > Thanks > Conor > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
