ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Zheng" <digua...@gmail.com>
Subject Re: AW: Hi I need some help
Date Sun, 08 Oct 2006 03:11:56 GMT
The result of ANT 1.7.0

 two testcases failed.

    [junit] Testcase: testJarWithManifestInNonAsciiDir(
org.apache.tools.ant.AntClassLoaderTest):    FAILED
    [junit]
expected:<...es\core\??nt\main.jar[;D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\core\??nt\ext\ext.jar]>
but was:<...es\core\??nt\main.jar[]>
    [junit] junit.framework.ComparisonFailure:
expected:<...es\core\??nt\main.jar[;D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\core\??nt\ext\ext.jar]>
but was:<...es\core\??nt\main.jar[]>
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:81)
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:87)
    [junit]     at
org.apache.tools.ant.AntClassLoaderTest.testJarWithManifestInNonAsciiDir(
AntClassLoaderTest.java:65)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:164)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java
:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:120)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:230)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:225)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(
JUnitTestRunner.java:362)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(
JUnitTask.java:1207)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:791)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(
JUnitTask.java:1601)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:741)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.Sequential.execute(
Sequential.java:62)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(
MacroInstance.java:394)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
Project.java:1282)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java
:1251)
    [junit]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:41)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java
:1134)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:698)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java
:300)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java
:106)


   [junit] Testcase:
testVerifyJar(org.apache.tools.ant.taskdefs.SignJarTest):
Caused an ERROR
    [junit] Failed to verify
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\signedjars\signtest.jar
    [junit]
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\taskdefs\signjar.xml:238:
Failed to verify
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\signedjars\signtest.jar
    [junit]     at org.apache.tools.ant.taskdefs.VerifyJar.verifyOneJar(
VerifyJar.java:147)
    [junit]     at org.apache.tools.ant.taskdefs.VerifyJar.execute(
VerifyJar.java:93)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
Project.java:1282)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java
:1251)
    [junit]     at org.apache.tools.ant.BuildFileTest.executeTarget(
BuildFileTest.java:276)
    [junit]     at org.apache.tools.ant.taskdefs.SignJarTest.testVerifyJar(
SignJarTest.java:187)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:164)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java
:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:120)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:230)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:225)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(
JUnitTestRunner.java:362)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(
JUnitTask.java:1207)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:791)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(
JUnitTask.java:1601)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:741)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.Sequential.execute(
Sequential.java:62)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(
MacroInstance.java:394)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
Project.java:1282)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java
:1251)
    [junit]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:41)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java
:1134)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:698)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java
:300)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java
:106)


    [junit] Testcase: testVerifyFileset(
org.apache.tools.ant.taskdefs.SignJarTest):    Caused an ERROR
    [junit] Failed to verify
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\signedjars\signtest.jar
    [junit]
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\taskdefs\signjar.xml:254:
Failed to verify
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\signedjars\signtest.jar
    [junit]     at org.apache.tools.ant.taskdefs.VerifyJar.verifyOneJar(
VerifyJar.java:147)
    [junit]     at org.apache.tools.ant.taskdefs.VerifyJar.execute(
VerifyJar.java:93)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
Project.java:1282)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java
:1251)
    [junit]     at org.apache.tools.ant.BuildFileTest.executeTarget(
BuildFileTest.java:276)
    [junit]     at
org.apache.tools.ant.taskdefs.SignJarTest.testVerifyFileset(SignJarTest.java
:209)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:164)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java
:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:120)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:230)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:225)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(
JUnitTestRunner.java:362)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(
JUnitTask.java:1207)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:791)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(
JUnitTask.java:1601)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:741)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.Sequential.execute(
Sequential.java:62)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(
MacroInstance.java:394)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
Project.java:1282)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java
:1251)
    [junit]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:41)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java
:1134)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:698)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java
:300)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java
:106)


    [junit] Testcase: testVerifyPath(
org.apache.tools.ant.taskdefs.SignJarTest):    Caused an ERROR
    [junit] Failed to verify
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\signedjars\signtest.jar
    [junit]
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\taskdefs\signjar.xml:260:
Failed to verify
D:\Java\antSelfHost1.7.0\trunk\src\etc\testcases\signedjars\signtest.jar
    [junit]     at org.apache.tools.ant.taskdefs.VerifyJar.verifyOneJar(
VerifyJar.java:147)
    [junit]     at org.apache.tools.ant.taskdefs.VerifyJar.execute(
VerifyJar.java:93)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
Project.java:1282)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java
:1251)
    [junit]     at org.apache.tools.ant.BuildFileTest.executeTarget(
BuildFileTest.java:276)
    [junit]     at org.apache.tools.ant.taskdefs.SignJarTest.testVerifyPath(
SignJarTest.java:213)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:164)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:130)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java
:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:120)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:230)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:225)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(
JUnitTestRunner.java:362)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(
JUnitTask.java:1207)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:791)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(
JUnitTask.java:1601)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
JUnitTask.java:741)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.Sequential.execute(
Sequential.java:62)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(
MacroInstance.java:394)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:279)
    [junit]     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(
DispatchUtils.java:105)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:342)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
Project.java:1282)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java
:1251)
    [junit]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:41)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java
:1134)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:698)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java
:300)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java
:106)



On 10/8/06, Michael Zheng <digua009@gmail.com> wrote:
>
> Must I use ANT 1.7.0 ? Or just the fail test of ant 1.6.5 is ok ?
>
> On 10/8/06, Michael Zheng <digua009@gmail.com > wrote:
> >
> > Hi all,
> >
> >     There is one failure still. The ant version I used is ant 1.6.5 ,
> > which is checked out from "http://svn.apache.org/repos/asf/ant/core/branches/ANT_16_BRANCH/
> > "
> >
> >    later I will try the latest ant , and run the test on Harmony which
> > is the Apache OpenSource JDK.
> >
> >    OS : WindowsXP SP2
> >    JDK : Sun JDK 1.5.0_08
> >
> >    the info of the failed testcase is as the follows
> >
> >     [junit] Testcase: testURLKeystoreHTTP(
> > org.apache.tools.ant.taskdefs.SignJarTest):    Caused an ERROR
> >     [junit] exec returned: 1
> >     [junit]
> > D:\Java\antSelfHost\trunk\src\etc\testcases\taskdefs\signjar.xml:32: exec
> > returned: 1
> >     [junit]     at org.apache.tools.ant.taskdefs.ExecTask.runExecute(
> > ExecTask.java:591)
> >     [junit]     at org.apache.tools.ant.taskdefs.ExecTask.runExec(
> > ExecTask.java:617)
> >     [junit]     at org.apache.tools.ant.taskdefs.ExecTask.execute (
> > ExecTask.java:452)
> >     [junit]     at org.apache.tools.ant.taskdefs.SignJar.doOneJar(
> > SignJar.java:302)
> >     [junit]     at org.apache.tools.ant.taskdefs.SignJar.execute(
> > SignJar.java:205)
> >     [junit]     at org.apache.tools.ant.UnknownElement.execute (
> > UnknownElement.java:275)
> >     [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
> >     [junit]     at org.apache.tools.ant.Target.execute(Target.java:341)
> >     [junit]     at org.apache.tools.ant.Target.performTasks (Target.java
> > :369)
> >     [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
> > Project.java:1216)
> >     [junit]     at org.apache.tools.ant.Project.executeTarget(
> > Project.java:1185)
> >     [junit]     at org.apache.tools.ant.BuildFileTest.executeTarget (
> > BuildFileTest.java:230)
> >     [junit]     at
> > org.apache.tools.ant.taskdefs.SignJarTest.testURLKeystoreHTTP(
> > SignJarTest.java:67)
> >     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> >     [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> >     [junit]     at java.lang.reflect.Method.invoke (Method.java:585)
> >     [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
> >     [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
> >     [junit]     at junit.framework.TestResult$1.protect (TestResult.java
> > :106)
> >     [junit]     at junit.framework.TestResult.runProtected(
> > TestResult.java:124)
> >     [junit]     at junit.framework.TestResult.run(TestResult.java:109)
> >     [junit]     at junit.framework.TestCase.run (TestCase.java:118)
> >     [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >     [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
> >     [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run (
> > JUnitTestRunner.java:297)
> >     [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(
> > JUnitTask.java:1072)
> >     [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute (
> > JUnitTask.java:682)
> >     [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(
> > JUnitTask.java:1434)
> >     [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(
> > JUnitTask.java :632)
> >     [junit]     at org.apache.tools.ant.UnknownElement.execute(
> > UnknownElement.java:275)
> >     [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
> >     [junit]     at org.apache.tools.ant.Target.execute (Target.java:341)
> >     [junit]     at org.apache.tools.ant.Target.performTasks(Target.java
> > :369)
> >     [junit]     at org.apache.tools.ant.Project.executeSortedTargets(
> > Project.java:1216)
> >     [junit]     at org.apache.tools.ant.Project.executeTarget (
> > Project.java:1185)
> >     [junit]     at
> > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
> > DefaultExecutor.java:40)
> >     [junit]     at org.apache.tools.ant.Project.executeTargets(
> > Project.java:1068)
> >     [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
> >     [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
> >     [junit]     at org.apache.tools.ant.launch.Launcher.run(
> > Launcher.java:246)
> >     [junit]     at org.apache.tools.ant.launch.Launcher.main(
> > Launcher.java:67)
> >
> >
> >
> >
> >
> > On 9/29/06, Antoine Levy-Lambert <antoine@gmx.de > wrote:
> > >
> > > Hi,
> > >
> > > Sorry there was a typo in my last email.
> > >
> > > the define to use to keep the tests going is -
> > > Dtest.haltonfailure=false
> > >
> > > let us know if some tests are still failing. If tests are failing you
> > > can enter bug reports about that in Bugzilla. I would create one bug report
> > > per failing test. Be sure in this case to be specific about the environment
> > > (JDK, OS) and to include a stack trace.
> > >
> > >
> > > Regards,
> > >
> > > Antoine
> > > -------- Original-Nachricht --------
> > > Datum: Fri, 29 Sep 2006 10:46:02 +0200
> > > Von: "Antoine Levy-Lambert" < antoine@gmx.de>
> > > An: "Ant Developers List" <dev@ant.apache.org>
> > > Betreff: Re: AW: Hi I need some help
> > >
> > > > Hello Michael,
> > > >
> > > > due to problems with the URLResource class maybe your junitreports
> > > were
> > > > not generated. Update your source code from the subversion
> > > repository by
> > > > running svn update and rebuild ant.
> > > >
> > > >
> > > > I advise you run the tests this way :
> > > >
> > > > 1) rebuild ant
> > > >
> > > > just type "ant" on the command line; or remove the bootstrap
> > > directory and
> > > > use build.sh or build.bat to rebuild ant if you want a 100% clean
> > > build.
> > > >
> > > > 2) run the tests
> > > >
> > > > assuming you are under Windows,
> > > >
> > > > set ANT_HOME=dist
> > > > :: or the equivalent for your operating system and shell language
> > > > ant -D"tests.haltonfailure=false" test
> > > >
> > > > what you want is to run the tests with the version of ant that you
> > > have
> > > > just built. This is what you achieve by this setting.
> > > >
> > > > I wonder whether this is documented. Uhhmm, maybe a todo.
> > > >
> > > > Antoine
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: dev-help@ant.apache.org
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message