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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to