Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 85268 invoked from network); 17 Apr 2008 11:11:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 11:11:40 -0000 Received: (qmail 16834 invoked by uid 500); 17 Apr 2008 11:11:41 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 16812 invoked by uid 500); 17 Apr 2008 11:11:41 -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 16803 invoked by uid 99); 17 Apr 2008 11:11:41 -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 04:11:41 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.89.64.104] (HELO pimtabh4.ms.com) (199.89.64.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 11:10:56 +0000 Received: from pimtabh4 (localhost.ms.com [127.0.0.1]) by pimtabh4.ms.com (output Postfix) with ESMTP id 62E4D48964 for ; Thu, 17 Apr 2008 07:11:08 -0400 (EDT) Received: from ny0032as01 (unknown [144.203.194.95]) by pimtabh4.ms.com (internal Postfix) with ESMTP id 473654A8019 for ; Thu, 17 Apr 2008 07:11:08 -0400 (EDT) Received: from ny0032as01 (localhost [127.0.0.1]) by ny0032as01 (msa-out Postfix) with ESMTP id 234AFC94375 for ; Thu, 17 Apr 2008 07:11:08 -0400 (EDT) Received: from PIWEXOB02.msad.ms.com (piwexob02 [205.228.46.104]) by ny0032as01 (mta-in Postfix) with ESMTP id 93DF416402F for ; Thu, 17 Apr 2008 07:11:07 -0400 (EDT) Received: from piexcat01.msad.ms.com ([10.163.2.210]) by PIWEXOB02.msad.ms.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 17 Apr 2008 07:11:07 -0400 Received: from OZWEXHUB02.msad.ms.com (10.174.163.86) by piexcat01.msad.ms.com (10.163.2.210) with Microsoft SMTP Server (TLS) id 8.1.240.5; Thu, 17 Apr 2008 07:11:05 -0400 Received: from LNWEXMBX0104.msad.ms.com ([10.174.156.26]) by OZWEXHUB02.msad.ms.com ([10.174.163.86]) with mapi; Thu, 17 Apr 2008 12:11:04 +0100 From: "Foreman, Alex \(IT\)" To: Date: Thu, 17 Apr 2008 12:11:03 +0100 Subject: RE: Accessing extra attributes from a trigger. Thread-Topic: Accessing extra attributes from a trigger. thread-index: AcigZr1NZbooU45zQ5KFP8/M506PlgAFNceA Message-ID: Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2992 References: <635a05060804170140p210fab45rb5af6d5a179cfe95@mail.gmail.com> Importance: normal Priority: normal In-Reply-To: <635a05060804170140p210fab45rb5af6d5a179cfe95@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 17 Apr 2008 11:11:07.0187 (UTC) FILETIME=[BBC72030:01C8A07B] X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.15/RELEASE, bases: 17042008 #637968, status: clean X-Virus-Checked: Checked by ClamAV on apache.org 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. 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.