[
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