ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jin...@korvac.com
Subject <delete> is not working...
Date Wed, 17 Apr 2002 06:23:04 GMT
Hi,
  I am new to ant. I try to use <delete> to delete some files and folders.
But the error message says it is unable to delete the files.
  The buildClassesDir contains all the class files, whereas the distDir
contains the jar files. I am able to delete the ${buildClassesDir} folder
but not the ${distDir} folder. Therefore I have to delete it manually.
  I was able to delete both folders until I re-checkout the module from cvs
(this process is done manually, not the cvs tag in ant scripts). The error
says BUILD FAILED. Unable to delete .../.../ folder.
  May I know under what circumstances I cannot delete any folders?

<target name="cleanUp" >
     <delete dir = "${distDir}" />
     <delete dir = "${buildClassesDir}" />
</target>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message