Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 24707 invoked from network); 14 Sep 2010 13:37:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Sep 2010 13:37:57 -0000 Received: (qmail 59529 invoked by uid 500); 14 Sep 2010 13:37:57 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 59262 invoked by uid 500); 14 Sep 2010 13:37:55 -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 59241 invoked by uid 99); 14 Sep 2010 13:37:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 13:37:54 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 13:37:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8EDbXsa016666 for ; Tue, 14 Sep 2010 13:37:33 GMT Message-ID: <28264786.177541284471453670.JavaMail.jira@thor> Date: Tue, 14 Sep 2010 09:37:33 -0400 (EDT) From: "Arnauld Van Muysewinkel (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVYDE-257) Trying to override old definition of task buildnumber In-Reply-To: <12202423.176451284468212443.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVYDE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909237#action_12909237 ] Arnauld Van Muysewinkel commented on IVYDE-257: ----------------------------------------------- "Apache Ivy" id is: org.apache.ivy.feature.feature.group I tested the following versions of it, and got the following outcome: - 2.2.0.cr1_20100629224905 -> fail - 2.1.0.final_20090925235825 -> fail - 2.0.0.final_20090108225011 -> fail (And I carefully restarted Eclipse each time.) I'm updating the bug description. > Trying to override old definition of task buildnumber > ----------------------------------------------------- > > Key: IVYDE-257 > URL: https://issues.apache.org/jira/browse/IVYDE-257 > Project: IvyDE > Issue Type: Bug > Affects Versions: 2.1.0 > Environment: Eclipse 3.5SR2 (Ant 1.7.1) - JDK 1.6u2 > Reporter: Arnauld Van Muysewinkel > > I create an empty project. > The only file I have is build.xml: > > > > > > > I start the ant build from Eclipse and get the following output: > << > Buildfile: (...)\build.xml > Trying to override old definition of task buildnumber > test: > BUILD FAILED > (...)\build.xml:5: buildnumber doesn't support the "file" attribute > >> > It seems that the standard ant task "buildnumber" has been overrridden by Ivy. > Given my build file, it shouldn't even try to load ivy tasks! > I also tried to force load Ivy tasks with a prefix (adding xmlns:ivy="antlib:org.apache.ivy.ant" to the project definition), but to no avail. > Note that if I start the ant build from the command line, everything is fine: > << > >ant -lib (...)\eclipse-3.5\plugins\org.apache.ivy.eclipse.ant_2.2.0.cr1_20100629224905.jar test > [-lib (...)\eclipse-3.5\plugins\org.apache.ivy.eclipse.ant_2.2.0.cr1_20100629224905.jar] > [-lib (...)\eclipse-3.5\plugins\org.apache.ivy.eclipse.ant_2.2.0.cr1_20100629224905.jar test] > Buildfile: build.xml > test: > BUILD SUCCESSFUL > Total time: 0 seconds > >ls > build.xml test_number.txt > >cat test_number.txt > #Build Number for ANT. Do not edit! > #Tue Sep 14 14:36:15 CEST 2010 > build.number=2 > >> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.