Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 12398 invoked from network); 17 Mar 2004 16:11:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Mar 2004 16:11:18 -0000 Received: (qmail 25306 invoked by uid 500); 17 Mar 2004 16:11:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25274 invoked by uid 500); 17 Mar 2004 16:11:04 -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 25248 invoked from network); 17 Mar 2004 16:11:04 -0000 Received: from unknown (HELO web20422.mail.yahoo.com) (66.163.169.98) by daedalus.apache.org with SMTP; 17 Mar 2004 16:11:04 -0000 Message-ID: <20040317161054.26704.qmail@web20422.mail.yahoo.com> Received: from [208.128.243.99] by web20410.mail.yahoo.com via HTTP; Wed, 17 Mar 2004 08:10:54 PST Date: Wed, 17 Mar 2004 08:10:54 -0800 (PST) From: Matt Benson Subject: Re: Newbie question To: Ant Users List In-Reply-To: <003301c40c38$74c5f9d0$63dd3f40@SumaHari> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 That was the clean way :) . Having a CLASSPATH set by default in your environment is inherently evil. -Matt --- Suma Bhat wrote: > Oh that worked ! > What does that mean ? > > Is there a way to get this straightened out in a > clean way ? > > Thanks a lot. > > -Suma > > ----- Original Message ----- > From: "Matt Benson" > To: "Ant Users List" > Sent: Wednesday, March 17, 2004 10:43 AM > Subject: Re: Newbie question > > > > As a quick test, try unsetting your CLASSPATH > > environment variable before running Ant. > > > > -Matt > > > > --- Suma Bhat wrote: > > > I did launch the command window after the > variable > > > was set. > > > echo %ANT_HOME% gave : > > > C:\libraries\apache-ant-1.6.1\; > > > > > > 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. > > > > > > 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) > > > > > > Thanks, > > > Suma > > > > > > > > > ----- Original Message ----- > > > From: "Anderson, Rob (Global Trade)" > > > > > > To: "Ant Users List" > > > Sent: Tuesday, March 16, 2004 7:20 PM > > > Subject: RE: Newbie question > > > > > > > > > When you run > > > > > > echo %ANT_HOME% > > > > > > what do you get? Did you launch the command > window > > > after the system variable > > > had been set? > > > > > > -Rob A > > > > > > > -----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=C:\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 > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: > > > user-help@ant.apache.org > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: > > > user-help@ant.apache.org > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - More reliable, more storage, less > spam > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > > For additional commands, e-mail: > user-help@ant.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org