ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Can't delete jar file
Date Thu, 16 Nov 2000 02:15:31 GMT
At 05:49  15/11/00 -0700, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I've got a task that tries to delete a jar file, but if that jar file
>is in my classpath, Ant won't delete it.  I get the following error
>message:
>Unable to delete file foo.jar
>
>This is pretty annoying.  Any ideas on a workaround or fix?

Not really - it is a feature of certain OSes file locking semantics. (Let
me guess windows ? ;]).  You can try to not always keep it in classpath but
that about is the only option ;(

Cheers,

Pete

*------------------------------------------------------*
| Despite your efforts to be a romantic hero, you will |
| gradually evolve into a postmodern plot device.      |
*------------------------------------------------------*


Mime
View raw message