Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 37880 invoked from network); 19 Jul 2006 18:38:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2006 18:38:04 -0000 Received: (qmail 50698 invoked by uid 500); 19 Jul 2006 18:38:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 50052 invoked by uid 500); 19 Jul 2006 18:38:00 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 50041 invoked by uid 99); 19 Jul 2006 18:38:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 11:38:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.197.27.91] (HELO barriere241.nike.com) (146.197.27.91) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 11:37:59 -0700 X-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Error using ant under cygwin like environment Date: Wed, 19 Jul 2006 11:37:32 -0700 Message-ID: <200607191841.k6JIfLBO022992@barriere241.nike.com> In-Reply-To: <308D3217D6160A409376B6C6F1A3129D033FE907@MI8NYCMAIL10.Mi8.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error using ant under cygwin like environment Thread-Index: Acaqi3i/XpBccgBGQxaOF0SAtuMOtQAmTQbgAA837GA= From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 19 Jul 2006 18:37:32.0463 (UTC) FILETIME=[657F63F0:01C6AB62] X-WSS-ID: 68A0A4661O0903151-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This error indicates that the classpath was not set up properly, or jars are missing from the classpath. This can happen if ANT_HOME is not set properly. Another possibility is that you are not running the ant you think you are. Run "which ant". What is the result? In your case, it should be /cygdrive/d/ants/apache-ant-1.6.5/bin/ant. If so, edit the file /cygdrive/d/ants/apache-ant-1.6.5/bin/ant, adding the following before the last line... echo $ant_exec_command Run ant again and send the output. -Rob A =20 > -----Original Message----- > From: Mayuresh Kshirsagar [mailto:mkshirsagar@Bladelogic.com]=20 > Sent: Wednesday, July 19, 2006 4:16 AM > To: Ant Users List > Subject: RE: Error using ant under cygwin like environment >=20 > As I pasted. The path is set correctly. >=20 > -----Original Message----- > From: Rich Goldman [mailto:rich@tinypictures.us] > Sent: Tuesday, July 18, 2006 10:27 PM > To: Ant Users List > Subject: Re: Error using ant under cygwin like environment >=20 > Should your path say "ant" instead of "ants"? >=20 > Mayuresh Kshirsagar wrote: >=20 > >I am trying to use ant with cygwin. But I am always getting=20 > the error: > > > >=20 > > > >mayuresh% ant > > > >Exception in thread "main" java.lang.NoClassDefFoundError: > >org/apache/tools/ant/launch/Launcher > > > >=20 > > > >I have set the ANT_HOME correctly: > > > >mayuresh% echo $ANT_HOME > > > >/cygdrive/d/ants/apache-ant-1.6.5 > > > >=20 > > > >What can I do to solve this? I didn't find anything concrete on the > net. > > > >=20 > > > >Regards, > > > >Mayuresh. > > > > > > =20 > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 > additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 > 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