You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Steve Loughran <st...@iseran.com> on 2003/09/23 08:22:33 UTC

concat teardown failing

the cleanup script in concat.xml is failing. Looks to me like the files 
are still open when the delete task takes action. Could set failonerror 
flags to ignore it, but it may be a symptom of the task not closing things.

platform: winxp, java1.4.2

     [junit] ------------- Standard Error -----------------
     [junit] 
C:\Java\Apache\jakarta-ant\src\etc\testcases\filters\concat.xml:13: 
Unable to delete file 
C:\Java\Apache\jakarta-ant\src\etc\testcases\filters\result\concat.filterReaderPrepend.test
     [junit] 	at 
org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:612)
     [junit] 	at 
org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:530)
     [junit] 	at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:303)
     [junit] 	at org.apache.tools.ant.Task.perform(Task.java:401)
     [junit] 	at org.apache.tools.ant.Target.execute(Target.java:338)
     [junit] 	at org.apache.tools.ant.Target.performTasks(Target.java:365)
     [junit] 	at 
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
     [junit] 	at 
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:273)
     [junit] 	at 
org.apache.tools.ant.filters.ConcatFilterTest.tearDown(ConcatFilterTest.java:126)

...

     [junit] 
C:\Java\Apache\jakarta-ant\src\etc\testcases\filters\concat.xml:13: 
Unable to delete file 
C:\Java\Apache\jakarta-ant\src\etc\testcases\filters\result\append.txt

     [junit] 
C:\Java\Apache\jakarta-ant\src\etc\testcases\filters\concat.xml:13: 
Unable to delete file 
C:\Java\Apache\jakarta-ant\src\etc\testcases\filters\result\concat.concatfilter.test

...





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