Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 93089 invoked from network); 23 Jan 2008 11:28:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 11:28:22 -0000 Received: (qmail 44450 invoked by uid 500); 23 Jan 2008 11:28:12 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 44435 invoked by uid 500); 23 Jan 2008 11:28:12 -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 44426 invoked by uid 99); 23 Jan 2008 11:28:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 03:28:12 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xavier.hanin@gmail.com designates 209.85.198.191 as permitted sender) Received: from [209.85.198.191] (HELO rv-out-0910.google.com) (209.85.198.191) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 11:27:44 +0000 Received: by rv-out-0910.google.com with SMTP id k15so2417499rvb.40 for ; Wed, 23 Jan 2008 03:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=4yhERbSEx3WI3grOha4kx14+O/4O2RScd0bFARodz7s=; b=QEJs8vuRkCPyJ3tVeSBkAxQnGu5o8PwslpKS5wvL4xDgNeEuY/E8vnlDDuUeEgPpLhCbs4zwHfL2HucxynekWuFYkSaEybunJrhFghhUVstckvsO/wzuz20u6fG+0VQpGM4ZN5lwhmzDxOXdS+c3USw7PzQZgEEoM8f0ebHgPUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IxYPy2HCupdks4iafH2x0OL9hKMJGuDzauHIw+VQAwJh3NoZzAE5MYxhnIB6zpB3BRjsOIgSZpu3sfPKPMS4z8nrAKe9lz7rGh9mhCVovV95rze6++UIjr7FvSwZs42H69ApsyhTnpzmSjPM2cWc1nZh0uKcBcqXs7fMnCsxdCs= Received: by 10.141.69.1 with SMTP id w1mr6244741rvk.147.1201087670655; Wed, 23 Jan 2008 03:27:50 -0800 (PST) Received: by 10.141.171.19 with HTTP; Wed, 23 Jan 2008 03:27:50 -0800 (PST) Message-ID: <635a05060801230327y1d57c43cuf688cc78d3361347@mail.gmail.com> Date: Wed, 23 Jan 2008 12:27:50 +0100 From: "Xavier Hanin" 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: multipart/alternative; boundary="----=_Part_6931_9782798.1201087670638" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6931_9782798.1201087670638 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline You need to add ivy.jar to your Ant classpath in eclipse (Window > Preferences > Ant > Runtime). Xavier On Jan 22, 2008 6:25 PM, 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. > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_6931_9782798.1201087670638--