ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar, Senthil" <Senthil.Ku...@wfg.com>
Subject unable to delete file
Date Thu, 19 Oct 2000 19:57:10 GMT
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..




<project name="claw" default="execute" basedir="c:\claw\com\citadel\claw">
  <target name="init">
    <tstamp/>
    <property name="build.dir" value="c:/build" />
   </target>
  <target name="clean" depends="init">
    <delete file="${build.dir}/lib/claw.jar" />	
  </target>
</project>

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

Mime
View raw message