ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <>
Subject [jira] Commented: (IVY-839) Provide ant task to retrieve information from published ivy modules
Date Fri, 13 Jun 2008 05:34:45 GMT


Xavier Hanin commented on IVY-839:

The patch seems pretty fine, thanks for this contribution!

Do you think you'd be able to provide a junit test and a patch for documentation too? It would
complete the contribution, and increase the chance to get included in trunk very quickly :-)

> Provide ant task to retrieve information from published ivy modules
> -------------------------------------------------------------------
>                 Key: IVY-839
>                 URL:
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Ant
>    Affects Versions: 2.0.0-beta-2
>         Environment: Using ivy from ant.
>            Reporter: David Maplesden
>             Fix For: 2.0-RC1
>         Attachments: IvyInfo.patch
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> I was looking for a way to retrieve some of the information that is included in an {{ivy.xml}}
file for a published module when using {{ant}}.
> The {{findrevision}} task allows you to retrieve the latest revision for a given module,
but doesn't expose any of the other information that is available about the module.
> The {{info}} task allows you to get at the information in an {{ivy.xml}} file but only
works on local files, it doesn't allow you to retrieve the same information from a published
> I had a quick look at the corresponding source code for these tasks ({{org.apache.ivy.ant.IvyInfo}}
and {{org.apache.ivy.ant.IvyFindRevision}}) and it appears relatively easy to merge them so
that the {{info}} task can run against either a local file or a repository module specified
by the organisation, module and revision pattern (in the same way as with the {{findrevision}}
> Doing this would provide better functionality and make the {{findrevision}} task obsolete.
> I will try implementing this now myself and provide a patch if I am successful

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message