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 24945] New: - jar update fails with "Unable to rename old file to temporary file"
Date Mon, 24 Nov 2003 17:51:37 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=24945>.
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=24945

jar update fails with "Unable to rename old file to temporary file"

           Summary: jar update fails with "Unable to rename old file to
                    temporary file"
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: bart_vanhaute_@hotmail.com


An ant build file I have, is trying to update a jar file to include a modified
MANIFEST.MF. The build file works perfectly under unix, but under windows, I get
"Unable to rename old file to temporary file". 

Looking at the source code it appears that a rename fails (line 388), maybe
because the getParentFile() does not pick up the correct dir.

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


Mime
View raw message