You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jean-Louis Boudart (JIRA)" <ji...@apache.org> on 2011/04/19 09:07:05 UTC
[jira] [Created] (IVY-1288) Exposing some parent metadata
(organisation, module, revision, branch) as properties.
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
[jira] [Updated] (IVY-1288) Exposing some parent metadata
(organisation, module, revision, branch) as properties.
Posted by "Jean-Louis Boudart (JIRA)" <ji...@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
[jira] [Updated] (IVY-1288) Exposing some parent metadata
(organisation, module, revision, branch) as properties.
Posted by "Jean-Louis Boudart (JIRA)" <ji...@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: (was: IVY-1288-alternative.patch)
> 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-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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (IVY-1288) Exposing some parent metadata
(organisation, module, revision, branch) as properties.
Posted by "Jean-Louis Boudart (JIRA)" <ji...@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-alternative.patch
Here is an alternative implementation exposing parent properties earlier (at parsing level) which allow ivy to directly use it.
> 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-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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (IVY-1288) Exposing some parent metadata
(organisation, module, revision, branch) as properties.
Posted by "Jean-Louis Boudart (JIRA)" <ji...@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: (was: IVY-1288.patch)
> 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-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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (IVY-1288) Exposing some parent metadata
(organisation, module, revision, branch) as properties.
Posted by "Jean-Louis Boudart (JIRA)" <ji...@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-alternative.patch
IVY-1288.patch
> 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-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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IVY-1288) Exposing some parent metadata
(organisation, module, revision, branch) as properties.
Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
[ 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