Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 58992 invoked from network); 5 Jan 2009 18:50:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2009 18:50:12 -0000 Received: (qmail 96100 invoked by uid 500); 5 Jan 2009 18:50:11 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 95798 invoked by uid 500); 5 Jan 2009 18:50:11 -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 95787 invoked by uid 99); 5 Jan 2009 18:50:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 10:50:11 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of archie.cobbs@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2009 18:50:01 +0000 Received: by an-out-0708.google.com with SMTP id d40so2519472and.25 for ; Mon, 05 Jan 2009 10:49:40 -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=x8afvMiBdMK3quOTJUPm2mVFi0WuF7d9PyEUVQD5GD8=; b=xdw/3bvtvODNhTygn98isRIHx4C7YiGDJQ2VI6WOJcr0gc+Je58CO1i8rJFaFUxIru fNstMizSxdA+ZxmPMa4cxAjakexNm+n3qpMD7TYZdcQRvrCxZ1GSd15jTk4032hs3E8i QFzJBmv4XrhY5GXcjlZy5BjQ3I+0RTadBr6x8= 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=XoLUPD7OZ9vo+69I5Rv8VZ6T/Aisg6LmYGSUx84YytHq4Fq7/aA3V2qMvy7fFmrs4B ObTiS5cNQME2RclY9ts0ATk2Z87Iip+RgemD3ywiBVFaewQ+yOyJ2K7GSUpykaImUR7K 3/MPlP2kEYW5O8j4t2KhPzIarpWupO9cQP1w8= Received: by 10.100.93.17 with SMTP id q17mr11185252anb.104.1231181379146; Mon, 05 Jan 2009 10:49:39 -0800 (PST) Received: by 10.100.198.13 with HTTP; Mon, 5 Jan 2009 10:49:39 -0800 (PST) Message-ID: <3bc8237c0901051049q920a89td9feefa5592cb6e0@mail.gmail.com> Date: Mon, 5 Jan 2009 12:49:39 -0600 From: "Archie Cobbs" To: ivy-user@ant.apache.org Subject: Re: how to put the artifacts in ant classpath? In-Reply-To: <496254F8.302@writingshow.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_74003_8140837.1231181379133" References: <496254F8.302@writingshow.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_74003_8140837.1231181379133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm not an expert but here's my comment :-) I think we should simply change the comment from "Please prefer the use of retrieve + standard ant path creation" to "You may want to prefer the use of retrieve + standard ant path creation". If you don't care about making your ant build "independent from ivy" then there's no reason not to use ivy:cachepath. -Archie On Mon, Jan 5, 2009 at 12:44 PM, Alan Chaney wrote: > I wondered about this as well - I've been using ivy:retrieve to pull stuff > into local folders and using that for the jar/war builds. This can get a bit > messy, so I was quite interested in using ivy:cachepath when it was raised > in this thread because then I would only have to have one copy of a > particular jar on my local filing system (the one in the cache) > > But then I read the statement in the docs and became confused as to what > "best practices" might be. > > Maybe that comment should be removed or clarified. Comments from Ivy > experts would be gratefully appreciated. > > Thanks > > Alan Chaney > > > > > paul.newport@targetgroup.net wrote: > >> >> >> >> I wouldn't use cachepath, as one would normally not have the ivy cache >> present on the deployment target. >> >> We use the ivy cache jars via IvyDE for compilation, but ivy retrieve for >> pulling jars into wars. >> >> >> >> Target >> www.targetgroup.net >> Target is a trading name of Target Group Limited, registered in England >> and Wales No. 1208137 >> Registered office: Target House, Cowbridge Road East, Cardiff CF11 9AU >> >> ********************************************************************** >> DISCLAIMER. >> This message is intended only for the use of the Addressee and may >> contain information that is PRIVILEGED and CONFIDENTIAL. If you are not >> the intended recipient you must not copy, distribute or take any action or >> reliance upon it. The content of this message may also contain personal >> views of an employee of this company and does >> not necessarily represent the view of the company. >> ********************************************************************** >> This message has been scanned by Norton Anti-Virus. It has also been >> scanned by MAILsweeper to enforce our e-mail policy. If you have any >> concerns or comments about the content of this message, please e-mail >> support@targetgroup.net. >> ********************************************************************** >> >> >> _____________________________________________________________________ >> This email has been scanned for all viruses by the MessageLabs Email >> Security System. For more information on a proactive email security >> service working around the clock, around the globe, visit >> http://www.messagelabs.com >> >> >> !DSPAM:49621a49272182136417547! >> >> >> > > -- Archie L. Cobbs ------=_Part_74003_8140837.1231181379133--