Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 76569 invoked from network); 12 Jun 2008 08:09:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2008 08:09:11 -0000 Received: (qmail 20123 invoked by uid 500); 12 Jun 2008 08:09:13 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 20032 invoked by uid 500); 12 Jun 2008 08:09:13 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 20021 invoked by uid 99); 12 Jun 2008 08:09:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 01:09:13 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 08:08:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1K6hrL-0005WP-Ut for ivy-user@ant.apache.org; Thu, 12 Jun 2008 01:08:39 -0700 Message-ID: <17794647.post@talk.nabble.com> Date: Thu, 12 Jun 2008 01:08:39 -0700 (PDT) From: Samit To: ivy-user@ant.apache.org Subject: Re: Error when trying to run Ant (with Ivy-Ant task) within MyEclipse In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: samit.katiyar@gmail.com References: X-Virus-Checked: Checked by ClamAV on apache.org Hi, I also had the same problem wiht my eclipse................. Solution is: 1. make sure that u have copied ant-contrib.jar in ant/../lib folder , 2. And In build.xml u must write If u have donw with these..........adn still getting error.......... Go to Eclipse, Windows-----Preferences---Ant--runtime-----Under Class Path tab...check the Ant home entreis........If path is differ....cklick on Ant home buton on rite side and set the ant which you are using (mite be other than Eclipse Ant).......... This will def rsolve ur issue..... Thanks Samit Katiyar Duy Dinh wrote: > > This is the first time I use Ivy. I followed all the instructions from > the website, but I still got the following error message when trying to > run Ant (with Ivy-Ant task) within MyEclipse. > > > > BUILD FAILED > > C:\Documents and Settings\ddinh1\workspace\Money\build.xml:18: Problem: > failed to create task or type antlib:org.apache.ivy.ant:retrieve > > Cause: The name is undefined. > > Action: Check the spelling. > > Action: Check that any custom tasks/types have been declared. > > Action: Check that any / declarations have taken > place. > > > > This appears to be an antlib declaration. > > Action: Check that the implementing library exists in one of: > > -C:\Program Files\MyEclipse > 6.0\eclipse\plugins\org.apache.ant_1.7.0.v200706080842\lib > > -C:\Documents and Settings\ddinh1\.ant\lib > > -a directory added on the command line with the -lib argument > > > > > > NOTE: I ran it successfully from command prompt. > > > > > > > > Thank you very much for your help! > > > > Duy Dinh > > > > > The information transmitted is intended only for the person or entity to > which it is addressed and may contain confidential and/or privileged > material. If the reader of this message is not the intended recipient, > you are hereby notified that your access is unauthorized, and any review, > dissemination, distribution or copying of this message including any > attachments is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete the material from any > computer. > > ----- Samit :confused: -- View this message in context: http://www.nabble.com/Error-when-trying-to-run-Ant-%28with-Ivy-Ant-task%29-within-MyEclipse-tp15025290p17794647.html Sent from the ivy-user mailing list archive at Nabble.com.