Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 21568 invoked from network); 17 Mar 2004 01:23:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Mar 2004 01:23:40 -0000 Received: (qmail 7023 invoked by uid 500); 17 Mar 2004 01:23:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6990 invoked by uid 500); 17 Mar 2004 01:23:16 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 6967 invoked from network); 17 Mar 2004 01:23:15 -0000 Received: from unknown (HELO barrierb241.nike.com) (146.197.27.40) by daedalus.apache.org with SMTP; 17 Mar 2004 01:23:15 -0000 X-Server-Uuid: F122D6CD-24F0-4253-8986-549FB7942DF9 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Newbie question Date: Tue, 16 Mar 2004 17:23:04 -0800 Message-ID: <200403170123.i2H1NDwk017441@barrierb241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Newbie question Thread-Index: AcQLvCuS15yUIkYHRguQ2W/uVcvyeAAAiXbg From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 17 Mar 2004 01:23:05.0085 (UTC) FILETIME=[65AE9AD0:01C40BBE] X-WSS-ID: 6C4977F32096744-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Does the file C:\libraries\apache-ant-1.6.1\lib\ant.jar exist? -Rob A > -----Original Message----- > From: Suma Bhat [mailto:sbhat1@gmu.edu] > Sent: Tuesday, March 16, 2004 5:06 PM > To: Ant Users List > Subject: Re: Newbie question >=20 >=20 > I did launch the command window after the variable was set. > echo %ANT_HOME% gave : C:\libraries\apache-ant-1.6.1\; >=20 > On second thoughts, I thought I should remove the slash and > semi-colon at the end (though I thought it should have stopped > mattering a while ago) . And that eliminated my first problem. >=20 > Now my problem is , > java.lang.InstantiationException: org.apache.tools.ant.Main > at java.lang.Class.newInstance0(Native Method) > at java.lang.Class.newInstance(Class.java:232) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) >=20 > Thanks, > Suma >=20 >=20 > ----- Original Message -----=20 > From: "Anderson, Rob (Global Trade)" > To: "Ant Users List" > Sent: Tuesday, March 16, 2004 7:20 PM > Subject: RE: Newbie question >=20 >=20 > When you run >=20 > echo %ANT_HOME% >=20 > what do you get? Did you launch the command window after the=20 > system variable > had been set? >=20 > -Rob A >=20 > > -----Original Message----- > > From: Suma Bhat [mailto:sbhat1@gmu.edu] > > Sent: Tuesday, March 16, 2004 4:12 PM > > To: user@ant.apache.org > > Subject: Newbie question > > > > > > Hi, > > I have a windows xp machine. > > I have ant installed in C:\libraries\apache-ant-1.6.1 > > > > ANT_HOME=3DC:\libraries\apache-ant-1.6.1\ > > PATH has C:\libraries\apache-ant-1.6.1\bin > > > > ANT_HOME is a system variable. > > > > Inspite of this, I am not able to use ant. > > I get the following error. > > ANT_HOME is set incorrectly or ant could not be located. > > Please set ANT_HOME. > > > > Am i missing something? > > > > Thanks for your help in advance, > > Suma > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org