From ivy-user-return-36-apmail-incubator-ivy-user-archive=incubator.apache.org@incubator.apache.org Thu Nov 16 20:16:09 2006 Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 45445 invoked from network); 16 Nov 2006 20:16:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 20:16:08 -0000 Received: (qmail 20982 invoked by uid 500); 16 Nov 2006 20:16:18 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 20945 invoked by uid 500); 16 Nov 2006 20:16:18 -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 20936 invoked by uid 99); 16 Nov 2006 20:16:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 12:16:18 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dk.root@verizon.net designates 206.46.252.40 as permitted sender) Received: from [206.46.252.40] (HELO vms040pub.verizon.net) (206.46.252.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 12:16:04 -0800 Received: from vms073.mailsrvcs.net ([192.168.1.2]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J8U009AOAVYFEK2@vms040.mailsrvcs.net> for ivy-user@incubator.apache.org; Thu, 16 Nov 2006 14:14:22 -0600 (CST) Received: from 128.231.88.4 ([128.231.88.4]) by vms073.mailsrvcs.net (Verizon Webmail) with HTTP; Thu, 16 Nov 2006 14:14:21 -0600 (CST) Date: Thu, 16 Nov 2006 14:14:21 -0600 (CST) From: Dmitriy Korobskiy Subject: Re: Re: 'transitive' attribute doesn't seem to work X-Originating-IP: [128.231.88.4] To: easyproglife , Dmitriy Korobskiy Cc: ivy-user Message-id: <29107142.4971721163708062725.JavaMail.root@vms073.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have looked on your project. First of all, I need to correct myself. Our project is using transitive="false" on dependencies in Ivy files, and we are using plain . We are not using at all. By looking at your project, it looks like your problem is that resolve has been already done, so retrieve does not do it again and simply uses the results of the last resolve which, I believe, is done by design. One option for you would be to move transitive attribute to resolve. Another would be to get rid of resolve whatsoever - the retrieve would trigger an automatic resolve. DK >From: easyproglife >Date: 2006/11/16 Thu PM 01:32:22 CST >To: Dmitriy Korobskiy >Subject: Re: 'transitive' attribute doesn't seem to work >See attached. > >Instructions: >goto directory 'a' and run ant. >goto directory 'b' and run ant. >goto directory 'c' and run ant. > >In directory c/imported I would expect only 'b' because I have asked for non-transitive retrieve. > >Well, I have just looked in the docs and saw that 'transitive="no"' should be on the resolve not on the retrieve. > >I don't understand. I want to first retrieve transitively and then to retrieve non-transitively to another directory. It looks impossible with one resolve. > >If so, I wonder what the 'transitive' attribute on the RETRIEVE is useful for? The RESOLVE 'transitive' attribute is the one who decides. > >I am getting confused :-( > > >Xavier? Maybe you can me? > >On 11/16/06, Dmitriy Korobskiy wrote:easyproglife, > >e> Hi. > >e> Has anyone tried using the retrieve Ant task with 'transitive="false"' >e> attribute? > >e> I have a project C depends on B and B depends on A. > >e> In project C I am trying to retrieve B "non-transitively" but it still gives >e> me A's stuff. > >e> Any idea? >e> (Has this feature been tested? If yes, what JUnit class?) > >Hi, > >we are using it on our project in quite a few cases. It works for us just fine. We >started at Ivy 1.3 and are using Ivy 1.4 now. > >If you send your Ivy file(s) (and configuration), this lits can collectively try to figure out what's >going wrong. > >Dmitriy <1-127-441 @ICQ, DKroot @Skype, DKroot1 @AIM, dkroot1_at_gmail_dot_com @Google Talk>