You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2012/08/15 13:46:38 UTC

[jira] [Resolved] (IVY-1288) Exposing some parent metadata (organisation, module, revision, branch) as properties.

     [ https://issues.apache.org/jira/browse/IVY-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVY-1288.
----------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Nicolas Lalevée

First patch applied. If the alternative patch was applied, it was then unclear what would happend to the variables if several ivy files were loaded and merged during the resolve process.
Thank you.
                
> 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
>            Assignee: Nicolas Lalevée
>              Labels: patch
>             Fix For: trunk
>
>         Attachments: IVY-1288-alternative.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira