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 49989 invoked from network); 1 Feb 2003 20:40:51 -0000 Received: from mr2.ash.ops.us.uu.net (198.5.241.87) by daedalus.apache.org with SMTP; 1 Feb 2003 20:40:51 -0000 Received: from Net2596 by mr2.ash.ops.us.uu.net with SMTP (peer crosschecked as: [63.91.125.169]) id QQoafa05178 for ; Sat, 1 Feb 2003 20:40:55 GMT Message-ID: <028701c2ca32$3c2c31a0$0301a8c0@BusinessOmaha.com> From: "DoNOTuseREPLY" To: "Ant Users List" References: <001501c2c654$4bc74be0$6201a8c0@magma.ca> Subject: Re: Problem with ANT_HOME in Windows 98 Date: Sat, 1 Feb 2003 14:37:37 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Your environment seems to be missing %SystemDrive%. You must define it when using win9x. The documentation is silent on the need for this! jimS ----- Original Message ----- From: "Jim Cobban" To: Sent: Monday, January 27, 2003 4:34 PM Subject: Problem with ANT_HOME in Windows 98 I have downloaded and unzipped the ant 1.5.1 package. I have set ANT_HOME and JAVA_HOME as described in the installation instructions. However no matter what I set ANT_HOME to when I type ant I get: ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. The environment variables are: D:\MyPrograms\JavaProgs\CensusServlet\ReadXls>set ANT_HOME=D:\jakarta-ant-1.5.1 JAVA_HOME=C:\jdk1.3.1 PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3.1\BIN;D:\JAKARTA-ANT-1.5.1\BIN There is only one thread I can see on this subject in the archives, it peters out with a suggestion that the problem might be the backslash, but changing this to a forward slash makes no difference. When I turn echo on I find that execution of ant.bat merrily flows right through the 'if exist "%ANT_HOME%" goto' statement, even though the directory definitely exists. Moreover when I experiment I find that it does not matter WHAT I put in the "if exist" statement control flows through. Does "if exist" even work on Win98? I would really like to use ant. It is a real pain to have to keep editting the shell scripts that I am using to compile my applications. Jim Cobban jcobban@magma.ca 34 Palomino Dr. Kanata, ON, CANADA K2M 1M1 +1-613-592-9438