tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r565467 - /tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java
Date Mon, 13 Aug 2007 18:25:15 GMT
Author: pero
Date: Mon Aug 13 11:25:14 2007
New Revision: 565467

URL: http://svn.apache.org/viewvc?view=rev&rev=565467
Log:
remove useless copy and unused context.xml file reference.

Modified:
    tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java

Modified: tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java?view=diff&rev=565467&r1=565466&r2=565467
==============================================================================
--- tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java
(original)
+++ tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java
Mon Aug 13 11:25:14 2007
@@ -625,14 +625,12 @@
                 try {
                     // Upload WAR
                     uploadWar(request, localWar);
-                    // Copy WAR and XML to the host app base if needed
+                    // Copy WAR to the host app base if needed
                     if (tag != null) {
                         deployedPath = deployed;
                         File localWarCopy = new File(deployedPath, basename + ".war");
                         copy(localWar, localWarCopy);
-                        localWar = localWarCopy;
-                        copy(localWar, new File(getAppBase(), basename + ".war"));
-                    }
+                     }
                     // Perform new deployment
                     check(path);
                 } finally {
@@ -684,8 +682,6 @@
 
         // Find the local WAR file
         File localWar = new File(deployedPath, getDocBase(path) + ".war");
-        // Find the local context deployment file (if any)
-        File localXml = new File(configBase, getConfigFile(path) + ".xml");
 
         // Check if app already exists, or undeploy it if updating
         Context context = (Context) host.findChild(path);



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


Mime
View raw message