On 2015-06-13, aalok singhvi wrote: > I am working on a project where i am not able to delete certain files using > ant 1.7. I saw some bug with ant 1.7 where the suggestion was to use ant > 1.8 version. My project is built out in 1.7 and it will be a big change to > built it out in 1.8.
We are pretty conservative about backwards incompatible changes so it is very likely your buildfiles for 1.7 (released more than eight years ago) will work with 1.8 (released more than five years ago) or the most recent version 1.9.5. > For a test i tried to use ant 1.8 to delete a file but it is saying " > Unable to delete a file.......". When i did -verbose it fails on > ant.taskdef.delete......method in ant. Any work around. There are way too many reasons why deleting a file may fail. We first need more information in order to answer this. > The file name i am trying to delete is aspectj1.6 specifically. Any > thoughts. What OS are you on? Has this file been used during the build process, in particular is it a jar that may be part of the CLASSPATH or used in a <classpath> by Ant? Can you provide us with the full error message and ideally with the stacktrace you receive with -v? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org