ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40330] New: - antversion JunitTest fails with version 1.7.0Beta1
Date Mon, 28 Aug 2006 03:52:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40330

           Summary: antversion JunitTest fails with version 1.7.0Beta1
           Product: Ant
           Version: 1.7.0Beta1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: major
          Priority: P1
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: antoine@apache.org


:(

found while doing the build for the new beta



[test-junit] Testcase:
testExactly(org.apache.tools.ant.taskdefs.condition.AntVersionTest):	Caused an ERROR

[test-junit] java.lang.NumberFormatException: For input string: "0Beta1"

[test-junit]
C:\dev\asf\ant-core\src\etc\testcases\taskdefs\conditions\antversion.xml:16:
java.lang.NumberFormatException: For input string: "0Beta1"

[test-junit] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:114)

[test-junit] 	at org.apache.tools.ant.Task.perform(Task.java:375)

[test-junit] 	at org.apache.tools.ant.Target.execute(Target.java:356)

[test-junit] 	at org.apache.tools.ant.Target.performTasks(Target.java:384)

[test-junit] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1268)

[test-junit] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1237)

[test-junit] 	at
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:275)

[test-junit] 	at
org.apache.tools.ant.taskdefs.condition.AntVersionTest.testExactly(AntVersionTest.java:40)

[test-junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[test-junit] 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[test-junit] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[test-junit] 	at java.lang.reflect.Method.invoke(Method.java:585)

[test-junit] 	at junit.framework.TestCase.runTest(TestCase.java:164)

[test-junit] 	at junit.framework.TestCase.runBare(TestCase.java:130)

[test-junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)

[test-junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)

[test-junit] 	at junit.framework.TestResult.run(TestResult.java:109)

[test-junit] 	at junit.framework.TestCase.run(TestCase.java:120)

[test-junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:230)

[test-junit] 	at junit.framework.TestSuite.run(TestSuite.java:225)

[test-junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:361)

[test-junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1199)

[test-junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:790)

[test-junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1591)

[test-junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:740)

[test-junit] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

[test-junit] 	at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)

[test-junit] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[test-junit] 	at java.lang.reflect.Method.invoke(Method.java:585)

[test-junit] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)

[test-junit] 	at org.apache.tools.ant.Task.perform(Task.java:375)

[test-junit] 	at org.apache.tools.ant.Target.execute(Target.java:356)

[test-junit] 	at org.apache.tools.ant.Target.performTasks(Target.java:384)

[test-junit] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1268)

[test-junit] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1237)

[test-junit] 	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)

[test-junit] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1120)

[test-junit] 	at org.apache.tools.ant.Main.runBuild(Main.java:697)

[test-junit] 	at org.apache.tools.ant.Main.startAnt(Main.java:198)

[test-junit] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:299)

[test-junit] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:105)

[test-junit] Caused by: java.lang.NumberFormatException: For input string: "0Beta1"

[test-junit] 	at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

[test-junit] 	at java.lang.Integer.parseInt(Integer.java:456)

[test-junit] 	at java.lang.Integer.parseInt(Integer.java:497)

[test-junit] 	at org.apache.tools.ant.util.DeweyDecimal.<init>(DeweyDecimal.java:67)

[test-junit] 	at
org.apache.tools.ant.taskdefs.condition.AntVersion.getVersion(AntVersion.java:78)

[test-junit] 	at
org.apache.tools.ant.taskdefs.condition.AntVersion.eval(AntVersion.java:35)

[test-junit] 	at org.apache.tools.ant.taskdefs.condition.Not.eval(Not.java:46)

[test-junit] 	at
org.apache.tools.ant.taskdefs.Exit$NestedCondition.eval(Exit.java:56)

[test-junit] 	at
org.apache.tools.ant.taskdefs.Exit.testNestedCondition(Exit.java:205)

[test-junit] 	at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:112)

[test-junit] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

[test-junit] 	at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)

[test-junit] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[test-junit] 	at java.lang.reflect.Method.invoke(Method.java:585)

[test-junit] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)

[test-junit] 	... 40 more

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message