ASF Bugzilla – Attachment 17943 Details for
Bug 36847
[Patch] ZipException when using "tag" in deploy ant task
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for tomcat 5.5.16 for remote deploy while using tag via ant task
apache-tomcat-5.5.16-tag-double-copy.patch (text/plain), 971 bytes, created by
Haroon Rafique
on 2006-03-22 18:31:03 UTC
(
hide
)
Description:
Fix for tomcat 5.5.16 for remote deploy while using tag via ant task
Filename:
MIME Type:
Creator:
Haroon Rafique
Created:
2006-03-22 18:31:03 UTC
Size:
971 bytes
patch
obsolete
>--- container/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java 2006-03-04 20:24:28.000000000 -0500 >+++ ../apache-tomcat-5.5.16-src/container/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java 2006-03-22 13:23:17.555736808 -0500 >@@ -630,7 +630,10 @@ > File localWarCopy = new File(deployedPath, basename + ".war"); > copy(localWar, localWarCopy); > localWar = localWarCopy; >- copy(localWar, new File(getAppBase(), basename + ".war")); >+ File secondCopy = new File(getAppBase(), basename + ".war"); >+ if( !localWar.getCanonicalPath().equals(secondCopy.getCanonicalPath()) ) { >+ copy(localWar, secondCopy); >+ } > } > // Perform new deployment > check(path);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36847
:
16565
|
17943
|
17944