Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 69860 invoked from network); 21 May 2007 20:09:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2007 20:09:00 -0000 Received: (qmail 43737 invoked by uid 500); 21 May 2007 20:08:51 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 43718 invoked by uid 500); 21 May 2007 20:08:51 -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 43699 invoked by uid 99); 21 May 2007 20:08:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 13:08:51 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [68.142.201.101] (HELO web82808.mail.mud.yahoo.com) (68.142.201.101) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 21 May 2007 13:08:42 -0700 Received: (qmail 35605 invoked by uid 60001); 21 May 2007 20:08:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=JCvpVad7WM4Xt1xpb93V+JHVZdbFMv0NkA1NK4c2kjaSygzcZ+qwCX+ogeSSWHmT/+VCH1FCgMAOvthVR25er4D9Pp+9UKn//yLW665UfkjuNUeOA8+JkEAUu8y4WLFXRrXkanfL9A3o0O41Kw4kLhFrCNQYLcfF0Lba8L3UrVE=; X-YMail-OSG: cKBHsRAVM1mHqCcJMkHC9OD7WfRvDmXqpEsgD1a3sfIGdSLma7.Efo1Q24o1i7WnYq2pB.dOmFUQO7vja_lNlotYIB7wG.G1JhQAjqVEypt2xbPqLPjhQL.wivi68w-- Received: from [71.129.149.229] by web82808.mail.mud.yahoo.com via HTTP; Mon, 21 May 2007 13:08:13 PDT Date: Mon, 21 May 2007 13:08:13 -0700 (PDT) From: Scott Goldstein Subject: Re: post resolve tasks and "keep" attribute To: ivy-user@incubator.apache.org In-Reply-To: <788568.64794.qm@web82809.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-78786244-1179778093=:33962" Content-Transfer-Encoding: 8bit Message-ID: <478031.33962.qm@web82808.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-78786244-1179778093=:33962 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I've solved my problem by changing the order of execution. However, I'm still curious about the "keep" property, as I imagine this might come up again. Any info? Scott Scott Goldstein wrote: During my build, I'm trying to run the ant "taskdef" task. As part of this task, I need to provide a classpath for the task, which I do using the "ivy:cachepath" task and an appropriate ivy file. This works, but the resolve necessary to achieve this blows away the resolve data from a previous execution of resolve, which breaks the build later on. So, what I need to do it perform a resolve within a particular scope and return the resolve data to its previous state. I looked at the docs on incubator.apache.org and there is some reference to the "keep" attribute both post resolve tasks. This appears to be what I need. However, when I try using it with 2.0 alpha, I get an error that the attribute does not exist. What's the status of this attribute? If there another way to achieve what I need? Is it just a matter of saving and restoring the resolve properties, ivy.organisation, ivy.module, ivy.revision, and ivy.resolved.configurations? Thanks. Scott --0-78786244-1179778093=:33962--