Update of /var/cvs/contributions/CMSContainer/scripts
In directory james.mmbase.org:/tmp/cvs-serv8847/scripts

Modified Files:
        deploywar.bat 
Log Message:
Add deploy support for tomcat 6


See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/scripts


Index: deploywar.bat
===================================================================
RCS file: /var/cvs/contributions/CMSContainer/scripts/deploywar.bat,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- deploywar.bat       12 Dec 2006 09:38:21 -0000      1.1
+++ deploywar.bat       21 Jul 2008 11:40:13 -0000      1.2
@@ -59,12 +59,19 @@
 
 :removeDir
        :: Do not remove tomcat webapps
+
+       IF "%CATALINA_HOME%\webapps\ROOT" == "%~1" GOTO :EOF
+       :: Tomcat 5.x
        IF "%CATALINA_HOME%\webapps\balancer" == "%~1" GOTO :EOF
        IF "%CATALINA_HOME%\webapps\jsp-examples" == "%~1" GOTO :EOF
-       IF "%CATALINA_HOME%\webapps\ROOT" == "%~1" GOTO :EOF
        IF "%CATALINA_HOME%\webapps\servlets-examples" == "%~1" GOTO :EOF
        IF "%CATALINA_HOME%\webapps\tomcat-docs" == "%~1" GOTO :EOF
        IF "%CATALINA_HOME%\webapps\webdav" == "%~1" GOTO :EOF
+       :: Tomcat 6.x
+       IF "%CATALINA_HOME%\webapps\docs" == "%~1" GOTO :EOF
+       IF "%CATALINA_HOME%\webapps\examples" == "%~1" GOTO :EOF
+       IF "%CATALINA_HOME%\webapps\host-manager" == "%~1" GOTO :EOF
+       IF "%CATALINA_HOME%\webapps\manager" == "%~1" GOTO :EOF
        
        echo Removing directory %~1
        rmdir /S /Q %~1
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to