Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 92597 invoked from network); 2 Mar 2009 09:58:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 09:58:33 -0000 Received: (qmail 45478 invoked by uid 500); 2 Mar 2009 09:58:33 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 45455 invoked by uid 500); 2 Mar 2009 09:58:33 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 45445 invoked by uid 99); 2 Mar 2009 09:58:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 01:58:33 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 09:58:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7AC4234C4A8 for ; Mon, 2 Mar 2009 01:58:12 -0800 (PST) Message-ID: <823387862.1235987892816.JavaMail.jira@brutus> Date: Mon, 2 Mar 2009 01:58:12 -0800 (PST) From: "Martin Eigenbrodt (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-1037) Buildnumber task does not work for chained resolvers In-Reply-To: <1582079048.1235987412802.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677942#action_12677942 ] Martin Eigenbrodt commented on IVY-1037: ---------------------------------------- The Diff was made against the test Dir of the current trunkt. > 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.