From ivy-user-return-6133-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Sat Nov 21 12:55:48 2009 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 50960 invoked from network); 21 Nov 2009 12:55:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Nov 2009 12:55:48 -0000 Received: (qmail 34436 invoked by uid 500); 21 Nov 2009 12:55:47 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 34336 invoked by uid 500); 21 Nov 2009 12:55:46 -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 34325 invoked by uid 99); 21 Nov 2009 12:55:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Nov 2009 12:55:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS 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; Sat, 21 Nov 2009 12:55:36 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NBpUh-0004Uv-92 for ivy-user@ant.apache.org; Sat, 21 Nov 2009 04:55:15 -0800 Message-ID: <26456326.post@talk.nabble.com> Date: Sat, 21 Nov 2009 04:55:15 -0800 (PST) From: Juha Ranta To: ivy-user@ant.apache.org Subject: Re: dependencies failed using branch attribute In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: juha.ranta@iki.fi References: X-Virus-Checked: Checked by ClamAV on apache.org Daniel Schwager wrote: > > Hi, > > i tried to use the branch attribute inside my projekt DEV like this: > > > > branch="mybranch1" rev="latest.integration" > conf="compile,tests->default"/> > ..... > > If I now try to resolve my dependencies, it failed > because ivy 2.1.0 try to resolve the latest version (5.6) of > testng/testng > which has NO branch-keyword inside it's ivy.xml. The ivy.xml > of version testng/testng/4.6 contains the following: > ... > When I saw your ivy.xml of the published module version 5.6, I think it had an empty branch attribute branch="". Maybe Ivy doesn't like empty branch names and that's why it doesn't like ivy.xml of version 5.6. If you want to use the default branch, you can perhaps omit the branch attribute completely and set the defaultBranch in ivysettings, or write the default branch name there. Juha -- View this message in context: http://old.nabble.com/dependencies-failed-using-branch-attribute-tp26411302p26456326.html Sent from the ivy-user mailing list archive at Nabble.com.