ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew.Goodno...@dana.com
Subject Re: delete not working
Date Thu, 22 Mar 2001 14:30:49 GMT

"Kuriti, Mohan" wrote:

> Hi Gurus,
>
> I am using the following target in my xml file.
> The files are not getting deleted.
>
> <target name="clean1" depends="dist">
>     <!-- Delete the ${build} and ${dist} directory trees -->
>     <delete dir="${src}/${build}"/>
>     <!--delete dir="${dist}" /-->
> </target>
>
> Can anybody help please? I am using ant1.2 .
>
> Thanks in advance
> Mohan

I've seen this before and it was because something else still had a handle
to one or more of the files you are trying to delete.  Close all apps
(restart if necessary) and try it again.  I've found TextPad (an editor for
Windows) will hold on to files after you've closed them.  It's worth a
shot.

Andy

****************************
Andrew Goodnough
Dana Commercial Credit
Programmer


Mime
View raw message