ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <Robert.Pri...@bentley.com>
Subject RE: cannot delete certain jars.
Date Fri, 17 May 2002 20:16:36 GMT
They are in my classpath. Thanks for the info, Paul.

-----Original Message-----
From: Paul Cody [mailto:paul.cody@lucida.com]
Sent: Friday, May 17, 2002 4:11 PM
To: 'Ant Users List'
Subject: RE: cannot delete certain jars.


If they are in your classpath or referenced by a running java application
(including ant!), windows may prevent you from deleting the file.  Also (of
course) check the file permissions.

HTH,
Paul

> -----Original Message-----
> From: Robert Priest [mailto:Robert.Priest@bentley.com]
> Sent: Friday, May 17, 2002 1: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>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message