Perhaps some process was using that JAR at the time you attempted to 
delete it?

-- 
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)


"Erin Gu" <[EMAIL PROTECTED]> wrote on 11/01/2005 11:28:46 AM:

> Hi, I try to use <delete dir="lib"/> to delete a group of jars, then I 
got
> an error:
> 
> test:
>    [delete] Deleting: C:\sysbuild\ccc\NW-RI\Ped\2.0\dev\lib\erin.jar
> 
> BUILD FAILED
> C:\sysbuild\ccc\NW-RI\Ped\2.0\dev\build-portal.xml:13: Unable to delete 
file
> C:\sysbuild\ccc\NW-RI\Ped\2.0\dev\lib\erin.jar
> 
> The I changed the dir name from "lib" to something else, it is ok.
> 
> test:
>    [delete] Deleting: C:\sysbuild\ccc\NW-RI\Ped\2.0\dev\lib1\erin.jar
> BUILD SUCCESSFUL
> 
> 
> I am using Ant 1.6.1. Is this a known Ant bug? Any workaround? Thanks in
> advance.
> 
> Erin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to