Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 63368 invoked from network); 17 Mar 2010 14:37:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 14:37:31 -0000 Received: (qmail 27564 invoked by uid 500); 17 Mar 2010 14:37:31 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 27538 invoked by uid 500); 17 Mar 2010 14:37:31 -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 27530 invoked by uid 99); 17 Mar 2010 14:37:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 14:37:31 +0000 X-ASF-Spam-Status: No, hits=-2.2 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Alexander.Foreman@morganstanley.com designates 199.89.103.73 as permitted sender) Received: from [199.89.103.73] (HELO pimtaint03.ms.com) (199.89.103.73) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 14:37:22 +0000 Received: from pimtaint03 (localhost.ms.com [127.0.0.1]) by pimtaint03.ms.com (output Postfix) with ESMTP id 152ED4D041A for ; Wed, 17 Mar 2010 10:37:01 -0400 (EDT) Received: from ny0030as01 (unknown [144.203.194.92]) by pimtaint03.ms.com (internal Postfix) with ESMTP id EEFCA240031 for ; Wed, 17 Mar 2010 10:37:00 -0400 (EDT) Received: from ny0030as01 (localhost [127.0.0.1]) by ny0030as01 (msa-out Postfix) with ESMTP id D4575AE5952 for ; Wed, 17 Mar 2010 10:37:00 -0400 (EDT) Received: from pimsaext01.ms.com (pimsaext01 [199.89.103.70]) by ny0030as01 (mta-in Postfix) with ESMTP id CF2FBB08035 for ; Wed, 17 Mar 2010 10:37:00 -0400 (EDT) Received: from pimsaext01 (localhost.ms.com [127.0.0.1]) by pimsaext01.ms.com (output Postfix) with ESMTP id C290513C085 for ; Wed, 17 Mar 2010 10:37:00 -0400 (EDT) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Thawte Premium Server CA" (verified OK)) by pimsaext01.ms.com (submission Postfix) with ESMTPS id 42D1F13C0C5 for ; Wed, 17 Mar 2010 10:37:00 -0400 (EDT) Received: by bwz19 with SMTP id 19so1068151bwz.6 for ; Wed, 17 Mar 2010 07:36:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.45.231 with SMTP id g39mr1373170bkf.102.1268836618107; Wed, 17 Mar 2010 07:36:58 -0700 (PDT) In-Reply-To: <2cb0de2b1003151230t265c2002geae5f10166a9bc6a@mail.gmail.com> References: <2cb0de2b1003151230t265c2002geae5f10166a9bc6a@mail.gmail.com> Date: Wed, 17 Mar 2010 14:36:58 +0000 Message-ID: <61aa66f21003170736m22c63a2s6c877c97b2b6f059@mail.gmail.com> Subject: Re: Simple Ivy/WTP Example From: Alex Foreman To: ivy-user@ant.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.35/RELEASE, bases: 17032010 #3582469, status: clean In your project setup (Preferences /IvyDE), there should be a retrieve tab. By default it is set to lib/. Try changing this to WEB-INF/lib HTH On 15 March 2010 19:30, Steve Taranto wrote: > Can someone offer a simple example of how to get Ivy to publish dependenc= ies > to /WEB-INF/lib? =A0I've followed the very simple example in the FAQ and = it > doesn't work. > > Here's what I'm doing.... > > (1) I create a WTP Web project. > > (2) My {project_root}/ivy.xml contains... > > > =A0 > > > (3) I go to Java Build Path / Libraries / Add Library... and add > "ivy.xml[*]". =A0The Publish/export dependency is "/WEB-INF/lib". > > (4) I go to Java EE Module Dependencies and, as expected, "ivy.xml[*]". > > Here's where I fall down... =A0At this point I expect to see the jar's in= my > /WebContent/WEB-INF/lib/ directory. =A0I don't - it's empty. > > So, I then run a task and the three commons-lang jar's s= how > up in the {project_root}/lib directory - not /WebContent/WEB-INF/lib. > > Of course, when I export to .war they jar's aren't there since they are i= n > the wrong directory. > > What am I missing? > > BTW, =A0this is plain old Eclipse 3.5 w/IvyDE 2.1.0 final. > --=20 Alex Foreman