Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 74851 invoked from network); 9 Jan 2009 20:20:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2009 20:20:23 -0000 Received: (qmail 12171 invoked by uid 500); 9 Jan 2009 20:20:16 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 12133 invoked by uid 500); 9 Jan 2009 20:20:16 -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 12101 invoked by uid 99); 9 Jan 2009 20:20:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 12:20:16 -0800 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 (nike.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; Fri, 09 Jan 2009 20:20:07 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LLNpa-0004xk-IK for ivy-user@ant.apache.org; Fri, 09 Jan 2009 12:19:46 -0800 Message-ID: <21379869.post@talk.nabble.com> Date: Fri, 9 Jan 2009 12:19:46 -0800 (PST) From: ataggart To: ivy-user@ant.apache.org Subject: Re: How to exclude source and javadoc download In-Reply-To: <143262.14420.qm@web30801.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: alex.taggart+nabble@gmail.com References: <20808519.post@talk.nabble.com> <143262.14420.qm@web30801.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Is there some way to do this globally? We just updated from ivy-2.0.0-beta2 to ivy-2.0.0-rc2 and every one of our builds started failing due to not finding dependent class files. I did some digging after noticing that Ivy was downloading 'source' and 'javadoc' jars in addition to the binary jars (which, by the way was a huge waste of bandwidth and time), and I can only guess that our ivy:retrieve pattern (/[artifact]-[revision].[ext]) was resulting in each of the 3 jars getting written to the same file name, resulting in the 'javadoc' jar being the only one left. Defaulting to pulling down all available source and javadoc jars for every dependency in the entire graph may be a useful feature to someone, but it is horrible for us. For now we've had to revert back to ivy-2.0.0-beta2. Maarten Coene wrote: > > The sources and javadocs are part of the "sources" and "javadoc" > configurations. > If you exclude these in your configurationmapping, they won't be > downloaded: > > conf="*->*,!sources,!javadoc" /> > > Maarten > > > > > ----- Original Message ---- > From: Coolboykl > To: ivy-user@ant.apache.org > Sent: Wednesday, December 3, 2008 9:10:36 AM > Subject: How to exclude source and javadoc download > > > Hi all > > I am using ivy2-RC2, using the hello-ivy as an example, could anyone tell > me > how to exclude javadoc and source download? below is the ivy.xml > > > > > > > > > > When I run ant resolve, it always download the jar, the source, and the > javadoc. Is there anywhere to exclude those? > > Cheers > -- > View this message in context: > http://www.nabble.com/How-to-exclude-source-and-javadoc-download-tp20808519p20808519.html > Sent from the ivy-user mailing list archive at Nabble.com. > > > > > -- View this message in context: http://www.nabble.com/How-to-exclude-source-and-javadoc-download-tp20808519p21379869.html Sent from the ivy-user mailing list archive at Nabble.com.