From ivy-user-return-642-apmail-incubator-ivy-user-archive=incubator.apache.org@incubator.apache.org Mon Apr 09 14:31:27 2007 Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 18207 invoked from network); 9 Apr 2007 14:31:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 14:31:27 -0000 Received: (qmail 93955 invoked by uid 500); 9 Apr 2007 14:31:33 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 93844 invoked by uid 500); 9 Apr 2007 14:31:33 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 93835 invoked by uid 99); 9 Apr 2007 14:31:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 07:31:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [82.165.250.195] (HELO u15187095.onlinehome-server.com) (82.165.250.195) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 07:31:25 -0700 Received: (qmail 3271 invoked from network); 9 Apr 2007 10:29:30 -0400 Received: from localhost (127.0.0.1) by localhost with SMTP; 9 Apr 2007 10:29:30 -0400 Received: from mailrelay4.private.geico.com (mailrelay4.private.geico.com [205.143.204.102]) by www2.digizenstudio.com (Horde MIME library) with HTTP; Mon, 09 Apr 2007 10:29:30 -0400 Message-ID: <20070409102930.li08hmfsgsk80c4k@www2.digizenstudio.com> Date: Mon, 09 Apr 2007 10:29:30 -0400 From: Jing Xue To: ivy-user@incubator.apache.org Subject: Re: Get exact revision for exact library References: <5A80500C5B961D4883B0EA52C85930851D06F3@mail1.webmedia.int> In-Reply-To: <5A80500C5B961D4883B0EA52C85930851D06F3@mail1.webmedia.int> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) X-Virus-Checked: Checked by ClamAV on apache.org Quoting Anton Stalnuhhin : > Hello, > > I'm sorry, if it is simple, but I couldn't find the answer on it. > Situation is that I have some modules that depends on C rev="2", but > I need to get C rev="1". > So I just add into ivy.xml dependency for C rev="1". As I > understand, there is a conflict, so > by default Ivy takes latest-revision. How can I configure conflicts, > so that if there is a conflict > between C rev="ANY" and C rev="1", Ivy takes C rev="1"? Hi Anton, I'm fairly new to ivy, so just a couple of thoughts: you can probably either exclude C rev.2 in the other dependency, or use a force attribute on the C rev.1 dependency. There is also some conflict manager types that can be configured to resolve conflicts the way you wanted - which is probably a universal solution but can be an overkill depending on your situation. HTH. -- Jing Xue