ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Gross <>
Subject RE: cannot delete certain jars.
Date Fri, 17 May 2002 21:07:16 GMT
I'm not sure if it related, but, if I have jar files in my CLASSPATH
environment variable, I cannot delete those jars. I think it is because
the JVM that Ant is running under has those jars open -- even though
it is not using any classes from those jars. Go figure.

-----Original Message-----
From: Robert Priest []
Sent: Friday, May 17, 2002 3:12 PM
To: ''
Subject: cannot delete certain jars.

USING 1.5Beta1 binary download.

I Set a property called:

<property name="TOMCAT_OUT" value="${DMS_OUTPUT}build\dms\webout\tomcat\" />

and I try to delet that dir using:

<target name="clean" depends="init">
      <delete dir="${TOMCAT_OUT}">

However certain jars are not deleted. For jars such as servlet.jar,
catalina.jar, and xerces.jar (and there are other), I get a message like the

D:\pw\Development\src\dms\web\src\java\build.xml:16: Unable to delete file

I am positive that those files do exist. And it is not all jars. Just
certain ones.

Does anyone know why this is happening?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message