Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 90755 invoked from network); 24 Feb 2009 15:41:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 15:41:49 -0000 Received: (qmail 53381 invoked by uid 500); 24 Feb 2009 15:41:49 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 53063 invoked by uid 500); 24 Feb 2009 15:41:48 -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 53046 invoked by uid 99); 24 Feb 2009 15:41:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 07:41:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.200.147] (HELO web30804.mail.mud.yahoo.com) (68.142.200.147) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Feb 2009 15:41:40 +0000 Received: (qmail 67818 invoked by uid 60001); 24 Feb 2009 15:41:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=cwlMfT97dZYirPFB+giULmRVs3Hf5TxyG6QEWTwdHA5zc/ng0g5dQbGFXTCLWkFfBZmDXDu5NUqx4NNi1RAyMxMaKVC7DBmVkD8Fs1oNZrU5itKiHWntmCM0MmH8fUANcOgvPChvst0PzRCsIVz26EDGmBmz0p5gQ6Ywk3Y9sUQ=; X-YMail-OSG: akQrwMcVM1nnun9znQuDBMriAkViwHkpqOnDrNLdXlb_enpXquS2jw_q3U40FrrylwKxiFhuKKZQ3FI7MBkLcT810k9eiqptXuMdCYwm1tDYWFUZ2UNsPhkWxWrAqYOAgJN1lU0LcYElT3r5E.ndgS6sDCe1PxBMtMig11JxiIcdLmRPSJTrrlW6NeRjl4P7955O.BJKNob9qB42w3_SBK6yP2WSyYVf Received: from [134.58.179.36] by web30804.mail.mud.yahoo.com via HTTP; Tue, 24 Feb 2009 07:41:19 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <49A40F3B.5060807@silyan.com> <9DD36C99332AB7438F8D73C048D8C62C021A41CE@sneezy.ad.e-dialog.com> Date: Tue, 24 Feb 2009 07:41:19 -0800 (PST) From: Maarten Coene Subject: Re: commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar To: ivy-user@ant.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <171979.62984.qm@web30804.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org It is caused because multiple artifacts (a jar with classes and a jar with sources) are mapped to the same filename by your retrieve pattern. A solution would be: - specify the [type] token in your retrieve pattern, or - add type="jar" to your retrieve task Maarten ----- Original Message ---- From: Jorge Medina To: ivy-user@ant.apache.org Sent: Tuesday, February 24, 2009 4:25:02 PM Subject: RE: commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar I had a similar problem with Ivy 2.0 that I did not have with 2.0 beta. Ivy was retrieving jar files with the source code instead of the compiled classes. Adding the element in my dependencies solved the problem: E.g. Before: After: -----Original Message----- From: Angel Cervera Claudio [mailto:angelcervera@silyan.com] Sent: Tuesday, February 24, 2009 10:16 AM To: ivy-user@ant.apache.org Subject: commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar I'm migrating maven project to ivy 2.0 I get a compile failure because Ivy has delivered me the commons-beans (and other commons-* libraries) java doc jar (or sources sometime) rather than the classes jar. In ivy cache directory, all files downloaded are ok, so i supposed that "resolve" phase is ok and it's a "retrieve" problem. With ivy in repository, equals results. I'm testing with a clean version of ivy, that is without "ivysettings.xml" file. With this test, result it's similar: build.xml: ----------------------------- ----------------------------- ivy.xml ----------------------------- -------------------------------- Please, help. And Thank's