Last update (sorry I am making a lot of noise) : the test passes under
JDK 1.6 in fact.
In my previous attempt with JDK 1.6 I was using another version of ant.
So the test failure with JDK 1.5 would be due to a bug in the JRE.
Next step is to change the antunit test to skip this part when runn
getting this output in verbose mode
setUp:
[mkdir] Skipping
C:\Users\alambert\AppData\Local\Temp\testinput\org\example
because it already exists.
[mkdir] Skipping C:\dev\asf\ant-core\build\ant-unit\taskdef because
it alrea
dy exists.
testDirWithPling:
[mkdir] Skipping C:\dev\asf\
In fact this is not a fluke as far as I can tell.
Under JDK 1.6 on Windows, the output is different :
[antunit] Target: testDirWithPling caused an ERROR
[antunit] at line 57, column 36
[antunit] Message: The following error occurred while executing
this line:
[antunit] java.i
I found out why xslt-test.xml testTraceJdk15+ was failing when preparing
a release and I changed the script "release.sh" [1].
Now I am getting another error :
[au:antunit] Build File:
C:\dev\asf\ant-core\src\tests\antunit\taskdefs\taskdef-test.xml
[au:antunit] Tests run: 4, Failures: 0, Error