Hi Senthil -
I ran into that too myself not 3 hours ago. I came to the conclusion that it depends upon how the dependencies has been set up i.e. if the file is in use by another task when the delete task gets executed it could be a problem. I noticed most of the clean up examples place that as the main entry point with a whole string f dependencies.
but I could be as I am only beginning to involve myself in ANT.
Hope it helps a bit!
-----Original Message-----
From: Kumar, Senthil [mailto:Senthil.Kumar@wfg.com]
Sent: Thursday, October 19, 2000 3:57 PM
To: 'ant-user@jakarta.apache.org'
Subject: unable to delete file
Hi,
I am a newbie.. ant is unable to delete a jar file which was build by
itself.
I am wondering how does i can make ant to delete this file.. pls help me
out..
Senthil..
clean:
[delete] Deleting: C:\build\lib\claw.jar
BUILD FAILED
build.xml:62: Unable to delete file C:\build\lib\claw.jar
Total time: 1 seconds