ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16928] - Can not delete JAR files
Date Mon, 10 Feb 2003 18:22:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16928>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16928

Can not delete JAR files





------- Additional Comments From tgreening@yahoo.com  2003-02-10 18:22 -------
I can delete the JAR files from the DOS command.

Here is a snippet from the build.xml:

	<!--Previous to this I extract files (jar's and classes) from PVCS -->
	<target name="CreateZip">
        <zip zipfile="${currentBuild.dir}/framework.zip">
            <fileset dir="${extract.dir}" includes="**/*.jar, **/*.doc,"/>
        </zip>
    </target>

    <!--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
-->
    <!--  In the clean target, delete the extract directory (except jar files - 
problem)-->
    <!--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
-->
    <target name="clean">
        <delete includeEmptyDirs="true">
            <fileset dir="${extract.dir}">
            </fileset>
        </delete>
    </target>

I get the error on the delete command.  If I try the same command at the start 
of my build.xml (clean up from previous build), it works fine.

Mime
View raw message