You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Martin Eigenbrodt (JIRA)" <ji...@apache.org> on 2009/03/05 08:23:56 UTC
[jira] Closed: (IVY-1037) Buildnumber task does not work for
chained resolvers
[ https://issues.apache.org/jira/browse/IVY-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Eigenbrodt closed IVY-1037.
----------------------------------
Resolution: Fixed
Thanks Maarten. Your commit solved the unittest and my "real world problem". Have you considered commiting the test? Is there anythingh I could/should have done better there?
> Buildnumber task does not work for chained resolvers
> ----------------------------------------------------
>
> Key: IVY-1037
> URL: https://issues.apache.org/jira/browse/IVY-1037
> Project: Ivy
> Issue Type: Bug
> Components: Ant
> Reporter: Martin Eigenbrodt
> Fix For: trunk
>
> Attachments: IVY1037.patch
>
>
> If the resolver attribute of the buildnumber task point to a chained resolver the buildnumber task will not find any existing revision.
> I will attach a unittest to show the problem.
> I've debuged into this point:
> The Buildnubmer task uses SearchEngine.listModules whcih in turn uses
> Resolver.listTokenValues. The Doc says ListTokenValue must not return values for child resolvers.
> So litTokenValues can not return values for child resolvers either. I don't know how to fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.