Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 34780 invoked from network); 2 Feb 2003 11:06:34 -0000 Received: from mta03.mail.au.uu.net (HELO mta03.mail.mel.aone.net.au) (203.2.192.83) by daedalus.apache.org with SMTP; 2 Feb 2003 11:06:34 -0000 Received: from cortexebusiness.com.au ([63.60.239.177]) by mta03.mail.mel.aone.net.au with ESMTP id <20030202110646.YUGI19583.mta03.mail.mel.aone.net.au@cortexebusiness.com.au> for ; Sun, 2 Feb 2003 22:06:46 +1100 Message-ID: <3E3CFBF5.5020406@cortexebusiness.com.au> Date: Sun, 02 Feb 2003 22:07:33 +1100 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: Ant Users List Subject: Re: Ant 1.5.1 on Windows ME References: <1AA6971F96FADB4A96CF73E4729B05F103F260@USEVS012.leinternal.com> <023601c2ca31$57d3c5e0$0301a8c0@BusinessOmaha.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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=:" > 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