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


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

Reply via email to