ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Gross <k.gr...@pentasafe.com>
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 [mailto:Robert.Priest@bentley.com]
Sent: Friday, May 17, 2002 3:12 PM
To: 'ant-user@jakarta.apache.org'
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}">
     </delete>
   </target>

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
following:

BUILD FAILED
D:\pw\Development\src\dms\web\src\java\build.xml:16: Unable to delete file
D:\pw
\Development\output\build\dms\webout\tomcat\common\lib\servlet.jar



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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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