You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/05/18 19:00:31 UTC

DO NOT REPLY [Bug 29066] New: - Unable to delete JAR file

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29066>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29066

Unable to delete JAR file

           Summary: Unable to delete JAR file
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: nj2dx@yahoo.com


On Windows 98 in an MS-DOS window I'm executing ANT with the following 
build.xml file:
<project name="util" default="clean" basedir=".">
        <target name="clean">
                <echo>${ant.version}</echo>
                <delete file="util.jar"/>
        </target>
</project>

A file named util.jar exist in the current directory and is NOT read only. The 
file can be deleted from the command line without any trouble.

The following is the output from ANT:
Buildfile: build.xml

clean:
     [echo] Apache Ant version 1.6.1 compiled on February 12 2004
   [delete] Deleting: C:\src\net\nj2dx\util\util.jar

BUILD FAILED
C:\src\net\nj2dx\util\build.xml:4: Unable to delete file C:\src\net\nj2dx\util\u
til.jar

Total time: 2 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org