Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 6814 invoked from network); 13 Nov 2002 02:35:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Nov 2002 02:35:32 -0000 Received: (qmail 18330 invoked by uid 97); 13 Nov 2002 02:36:33 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 18304 invoked by uid 97); 13 Nov 2002 02:36:32 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 18290 invoked by uid 50); 13 Nov 2002 02:36:31 -0000 Date: 13 Nov 2002 02:36:31 -0000 Message-ID: <20021113023631.18289.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 14495] New: - ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14495 ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. Summary: ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. Product: Ant Version: 1.5.1 Platform: PC OS/Version: Windows 9x Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: ant-dev@jakarta.apache.org ReportedBy: benhjackson@mindspring.com I have been able to load ANT successfully at work on my Windows2000 workstation. I tried loading it on the Windows ME PC at home, and when I try to execute "ant -version", I get the message "ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME." I used the following setup procedure: Setting up Ant 1) Create an empty folder called c:\java 2) Move the java std development edition to a directory within this folder drag c:\j2sdk1.4.0_01 folder into c:\java rename this folder jdk 3) Make an empty folder in c:\java called apps 4) Use winzip to extract jakarta-ant-1.5.1-bin.zip into c:\java\apps it will create a directory called jakarta-ant-1.5.1 rename this folder ant 6) Define the following environment variables a) Start | Programs | Accessories | System Tools | System Information �� ��Microsoft Help and Support�� window b) menu: Tools | System Configuration Utility c) select tab: Environment d) select variable, click "New" or ��Edit�� button as appropriate edit PATH adding ;C:\java\jdk\bin;C:\java\apps\ant\bin edit CLASSPATH adding C:\java\jdk\classes;C:\java\apps\ant new JAVA_HOME C:\java\jdk new ANT_HOME C:\java\apps\ant 7) Determine if the ��ant�� application is working properly ant �Cversion It should say Apache Ant version 1.5.1compiled on Oct 2, 2002 I checked the environment variables very carefully, and they appeared to be set correctly. I can go to C:\java\apps\ant\bin and see the executable "ant". I checked the AUTOEXEC.BAT and it looked okay. I looked for other versions of ANT. Found no others. I had unloaded xerces xml and dom parsers before into a separate directory. Any suggestions? -- To unsubscribe, e-mail: For additional commands, e-mail: