Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 38872 invoked from network); 17 Apr 2008 12:58:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 12:58:32 -0000 Received: (qmail 74791 invoked by uid 500); 17 Apr 2008 12:58:33 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 74773 invoked by uid 500); 17 Apr 2008 12:58:32 -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 74761 invoked by uid 99); 17 Apr 2008 12:58:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 05:58:32 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xavier.hanin@gmail.com designates 209.85.200.168 as permitted sender) Received: from [209.85.200.168] (HELO wf-out-1314.google.com) (209.85.200.168) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 12:57:48 +0000 Received: by wf-out-1314.google.com with SMTP id 27so40785wfd.10 for ; Thu, 17 Apr 2008 05:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ZTr7Z4e1+NHhc1yk3/VIyQ+EMAAlWN7P+YkkyjtnF3s=; b=TM+ayZKluV7ATuBGmvFBXsHjn4BfO68RkgWBG0STzvXdIUrku8qgZ6A1p9rW9mBEXnOxgRZK3Edcg1Y8iDUK3yapnJh/MUuSO8bH6zZY5BQpcNuwOiXvtsatssxlCgCqdj2sOZx8DUnYq1pMK8yYJIdp1wxP8FGwj7uxn3HEu8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cFxz/+iqyY6PfBLNT0qXRHlBaQPtMq78gfzRMZCluFiA5bBDlx5Qpm1qe2eB6AuTtZ3f6XjdkcdYj+Iv/QXMRVt2LWzBuFP88ViIEY1YBnEy/rlaMMZ70IBpXFHVkt+MqK3Rq7wJaOa3TomYHpbPvQjBQX+OcKGNrWaTQbtGU3M= Received: by 10.142.216.9 with SMTP id o9mr429642wfg.172.1208437081539; Thu, 17 Apr 2008 05:58:01 -0700 (PDT) Received: by 10.142.255.15 with HTTP; Thu, 17 Apr 2008 05:58:01 -0700 (PDT) Message-ID: <635a05060804170558n1742096fr1010e1921743d529@mail.gmail.com> Date: Thu, 17 Apr 2008 14:58:01 +0200 From: "Xavier Hanin" To: ivy-user@ant.apache.org Subject: Re: Accessing extra attributes from a trigger. In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14_18599714.1208437081522" References: <635a05060804170140p210fab45rb5af6d5a179cfe95@mail.gmail.com> <635a05060804170457m3940ad2eoefd6391ca4a878b4@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_14_18599714.1208437081522 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I've put ivy jar build from trunk here: http://people.apache.org/~xavier/ivy/ivy-trunk.jar Xavier On Thu, Apr 17, 2008 at 2:42 PM, Foreman, Alex (IT) < Alexander.Foreman@morganstanley.com> wrote: > It's more policy than anything else. > Plus Its hard to build Ivy in house with our unique processes :( > > > Alex Foreman > Morgan Stanley | Technology > 20 Cabot Square | Canary Wharf | Floor 06 > London, E14 4QW > Phone: +44 20 7677-5732 > Alexander.Foreman@morganstanley.com > > -----Original Message----- > From: Xavier Hanin [mailto:xavier.hanin@gmail.com] > Sent: 17 April 2008 12:58 > To: ivy-user@ant.apache.org > Subject: Re: Accessing extra attributes from a trigger. > > On Thu, Apr 17, 2008 at 1:11 PM, Foreman, Alex (IT) < > Alexander.Foreman@morganstanley.com> wrote: > > > JIRAed > > https://issues.apache.org/jira/browse/IVY-800 > > > > Thanks for doing the update so fast. I wonder is there a download > > (tar.gz or similar for this) as Unfortunatly due to company > > restrictions I cannot download from SVN or other source outside the > firm. > > Even using https svn access? Most of the time people behind firewalls > still have access using the https://svn.apache.org/ url. If you really > don't I'll upload a jar somewhere for you to test. > > Xavier > > > > > > Many thanks, > > > > > > Alex Foreman > > Morgan Stanley | Technology > > 20 Cabot Square | Canary Wharf | Floor 06 London, E14 4QW > > Phone: +44 20 7677-5732 > > Alexander.Foreman@morganstanley.com > > > > -----Original Message----- > > From: Xavier Hanin [mailto:xavier.hanin@gmail.com] > > Sent: 17 April 2008 09:40 > > To: ivy-user@ant.apache.org > > Subject: Re: Accessing extra attributes from a trigger. > > > > On Wed, Apr 16, 2008 at 4:58 PM, Foreman, Alex (IT) < > > Alexander.Foreman@morganstanley.com> wrote: > > > > > If I had for instance: > > > > > > > > > When I use a trigger I cannot access the color. Or at least I > > > cannot see how to. For instance: ${dep.download-size} prints but I > > > cannot seem to get access to the extras. > > > > > > Is this documented anywhere? Or shall I add a JIRA? > > > > Checking the code, it seems that some extra attributes should be > > available, but maybe not those that you'd like... > > > > The extra attributes which are available in pre and post > > resolve-dependency are the extra attributes you have on your > > dependency declaration, not those declared in the module descriptor of > the dependency. > > > > For the pre-reslve-dependency event, we can't do better, since before > > resolving the dependency we don't have the module descriptor yet. In > > the post resolve dependency, we could improve Ivy to put the extra > > attributes declared in the resolved module. > > > > Since it's so easy to do I've just checked in a change in Ivy which > > should make these extra attributes available in > > post-resolve-dependency. Could you check it works for you? Whatever > > the result, could you please open an issue in jira at least to ask for > documenting this? > > > > Xavier > > > > > > > > > > > > > Alex Foreman > > > Morgan Stanley | Technology > > > 20 Cabot Square | Canary Wharf | Floor 06 London, E14 4QW > > > Phone: +44 20 7677-5732 > > > Alexander.Foreman@morganstanley.com > > > -------------------------------------------------------- > > > > > > NOTICE: If received in error, please destroy and notify sender. > > > Sender does not intend to waive confidentiality or privilege. Use of > > > this email is prohibited when received in error. > > > > > > > > > > > -- > > Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ > > http://ant.apache.org/ivy/ http://www.xoocode.org/ > > -------------------------------------------------------- > > > > NOTICE: If received in error, please destroy and notify sender. Sender > > does not intend to waive confidentiality or privilege. Use of this > > email is prohibited when received in error. > > > > > > -- > Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ > http://ant.apache.org/ivy/ http://www.xoocode.org/ > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender > does not intend to waive confidentiality or privilege. Use of this email is > prohibited when received in error. > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_14_18599714.1208437081522--