You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2011/04/15 08:29:09 UTC

DO NOT REPLY [Bug 51069] New: Unable to rename old file to temporary file JAR TASK

https://issues.apache.org/bugzilla/show_bug.cgi?id=51069

           Summary: Unable to rename old file to temporary file JAR TASK
           Product: Ant
           Version: 1.6.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: singhabhinav2@gmail.com
                CC: arinjaybaj@gmail.com
        Depends on: 49117


+++ This bug was initially created as a clone of Bug #49117 +++

While trying to add manifest to the jar file, the JAR task fails with the
error:
"Unable to rename old file <> to temporary file."

This was an upgrade from jdk1.5 to jdk1.6. The build works fine with the
jdk1.5.



Hi All,

I am migrating an existing Weblogic 9.2 application to Weblogic 10.3.
I am using Ant 1.67 to build the project.

I have changed the weblogic version and the JRockit the the build.bat file.

When I build the project, I get the same error as listed in Bug 49117 i.e " 

Unable to rename old file
(C:\MiddleTier\RewardZone\source\java\buildpackage\buildtemp\eartemp\ICECommon-ejbs.jar)
to temporary file"

The ANT target where I am updating the manifest file with  the jar reference
throws the above error.

I tried using a higher verison of Ant 1.8 and it built the project without any
errors. But it could not find the RMIC references and threw the classnotfound
exception during run time.

Any pointers on same be apprecited. 

Thanks,
Aby

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51069] Unable to rename old file to temporary file JAR TASK

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51069

Anthony Wat <ac...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acwwat@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51069] Unable to rename old file to temporary file JAR TASK

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51069

Anthony Wat <ac...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|acwwat@gmail.com            |

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.