Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20F091F53 for ; Tue, 19 Apr 2011 14:16:26 +0000 (UTC) Received: (qmail 39533 invoked by uid 500); 19 Apr 2011 07:09:46 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 39505 invoked by uid 500); 19 Apr 2011 07:09:46 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 39498 invoked by uid 99); 19 Apr 2011 07:09:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 07:09:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 07:09:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A8BA0A8AA3 for ; Tue, 19 Apr 2011 07:09:05 +0000 (UTC) Date: Tue, 19 Apr 2011 07:09:05 +0000 (UTC) From: "Jean-Louis Boudart (JIRA)" To: notifications@ant.apache.org Message-ID: <864872218.66422.1303196945673.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1509868824.66421.1303196825938.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (IVY-1288) Exposing some parent metadata (organisation, module, revision, branch) as properties. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Louis Boudart updated IVY-1288: ------------------------------------ Attachment: IVY-1288.patch First implementation inspired by code in IvyResolve Task > Exposing some parent metadata (organisation, module, revision, branch) as properties. > ------------------------------------------------------------------------------------- > > Key: IVY-1288 > URL: https://issues.apache.org/jira/browse/IVY-1288 > Project: Ivy > Issue Type: New Feature > Components: Core > Reporter: Jean-Louis Boudart > Attachments: IVY-1288.patch > > > It can be helpful to expose some parent metadata as properties. As module inheritance support multiple parent we should have something like : > * ivy.parents.count : number of parents module > * ivy.parent[index].organisation : set to the organisation name found in the parent ivyfile which was used for resolve > * ivy.parent[index].module : set to the module name found in the parent ivyfile which was used for resolve > * ivy.parent[index].revision : set to the revision name found in the parent ivyfile which was used for resolve > * ivy.parent[index].branch : set to the branch name found in the parent ivyfile which was used for resolve > Where index represent the index of extends module. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira