Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 36891 invoked from network); 30 Nov 2010 00:18:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Nov 2010 00:18:35 -0000 Received: (qmail 10705 invoked by uid 500); 30 Nov 2010 00:18:35 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 10663 invoked by uid 500); 30 Nov 2010 00:18:34 -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 10655 invoked by uid 99); 30 Nov 2010 00:18:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 00:18:34 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lpurvis@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 00:18:28 +0000 Received: by wwb29 with SMTP id 29so497237wwb.16 for ; Mon, 29 Nov 2010 16:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=mtwnOUlBGIqv3huq73dqWjaxXjG9143PxpWRYLEJE14=; b=xVQqiuDKfsnQ2rAqy2YapHa46b8sH42oPhDs2swNVPvCgNj6I4q9HwX3eN21dmTnSG Ngeie0ohONy/yXZZrcyIz3sJdv2AOviohxP+2LFtvDcTgdaP3n4nsp1vUyrYmhRiGnHB aBm6ilLqDw8r/kXctn0vOWAz16ZB6884Qno5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=W2qeH93fUFuqhz00cXqIR5ZOsGmIcJ7fVTZEf1Skho763dR1H9GjeoPtCzgoIByLX8 qt8MMutlH4NgfgGSnMmvVxSQrmDpvgyy8nn1ANwW+TVCJ4BW2K/2XoEXD3M4DlMQqo62 MVI2q4zRkstMj2rz2VNYu+9Os0kURTzAm4T0g= Received: by 10.227.128.84 with SMTP id j20mr6745834wbs.206.1291076286465; Mon, 29 Nov 2010 16:18:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.143.133 with HTTP; Mon, 29 Nov 2010 16:17:45 -0800 (PST) In-Reply-To: <7CA0D5FE7FA83048893E9230C1E9C0280B1E049A@DNVREMSA01.jsq.bsg.ad.adp.com> References: <7CA0D5FE7FA83048893E9230C1E9C0280B1E049A@DNVREMSA01.jsq.bsg.ad.adp.com> From: Levi Purvis Date: Mon, 29 Nov 2010 19:17:45 -0500 Message-ID: Subject: Re: Two places download jars are stored To: ivy-user@ant.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org To keep my libs separated, and avoid accidental version intermingling from latest.integration, I like to setup separated cache directories that are local to a "workspace" (i.e. set of related projects, or perhaps a branch vs. trunk). By setting the useOrigin=3D"true" attribute on the cache, it combines nicely with local file system resolvers where the truly common stuff can be installed (e.g. slf4j). Then I use cachepath, cachefileset, or symlink as was mentioned already (actually IvyDE in Eclipse most of the time). I generally only have one copy of any given version of a jar file, and my workspaces are still fairly isolated. Rock on. On Fri, Nov 26, 2010 at 11:17 AM, Hiller, Dean (Contractor) wrote: > Just my 2 cents there...I actually like that as I can use component lib > plugin to just suck in all the jars in the folder in the project where I > do NOT want all the jars in the cache. =C2=A0Ie. I typically have 3-4 > projects on my machine and the jars they have in their local are a > subset of all jars in the cache. =C2=A0This can be why it is > Good to have the duplication of jars..also, when you clean out your > project, the ivy cache is still on your machine as well. =C2=A0Anyways, j= ust > my 2 cents...you may be solving a different problem though where it > makes more sense to have one and in that case, I am sorry I don't have > enough ivy experience to help there yet. > > I personally change the lib default to our one single output folder that > can be cleaned. > > Later, > Dean > > -----Original Message----- > From: Dale Herrig [mailto:dale.herrig@osi.com] > Sent: Thursday, November 25, 2010 11:02 AM > To: ivy-user@ant.apache.org > Subject: Two places download jars are stored > > I noticed that the downloaded jars by default will go the lib directory. > I > also noticed that these same downloaded jars get put in the ivy cache > directory which by default is where the ivysettings.xml file located. > > I am thinking I don't need the down loaded jars in two locations. > > The ivy cache would be fine. =C2=A0However, there does not seem to be a w= ay > to > dis-able the jars going to the lib directory or some other lib > directory specified in =C2=A0 "ivy.lib.dir". > > Yes, I can point "ivy.lib.dir" to the ivy =C2=A0cache directory which is = what > I > did but now have two copies of the same jars at different locations in > the > ivy cache directory. > > Am I missing some additional settings. > > Thanks in advance for any guidance on this