Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

errors running the ant test suite on Windows

Antoine Levy-Lambert

2010-03-01

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

I have just built ant from trunk and ran the test suite on Windows
XP/Cygwin/JDK 1.6.

I got this error :

Build File:
C:\dev\asf\ant-core\src\tests\antunit\taskdefs\import-url-test.xml

Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.313 sec

Target: testImportOfNestedFile took 0 sec

caused an ERROR

          at line 25, column 30

          Message: Unable to delete file
C:\DOCUME~1\alambert\LOCALS~1\Temp\testoutput\test.jar

       
This made a lot of other antunit tests fail, in some mysterious way
(maybe because they wanted all to cleanup the testoutput directory).

I wonder whether a recent change in our code base could cause this file
test.jar to remain open/locked ? Some unclosed Stream/Reader/... ?

Regards,

Antoine



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.