Update of /var/cvs/contributions/natmm
In directory james.mmbase.org:/tmp/cvs-serv12243

Modified Files:
        hotdeploy.bat 
Log Message:
Better copy-web script for NatMM internet and Intranet


See also: http://cvs.mmbase.org/viewcvs/contributions/natmm


Index: hotdeploy.bat
===================================================================
RCS file: /var/cvs/contributions/natmm/hotdeploy.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- hotdeploy.bat       5 Mar 2007 15:54:59 -0000       1.2
+++ hotdeploy.bat       3 Oct 2008 13:43:23 -0000       1.3
@@ -1 +1,23 @@
-xcopy c:\projects\natmm\build\natmm\*.jsp 
c:\apps\topmcat5.0\webapps\natmm-internet\*.jsp  /s
[EMAIL PROTECTED] off
+
+IF exist "%CATALINA_HOME%\webapps\natmm-internet\index.jsp" GOTO internet
+IF exist "%CATALINA_HOME%\webapps\ROOT\nmintra\info.jsp" GOTO intranet
+GOTO nothing
+
+:internet
+echo Copying templates\natmm to %CATALINA_HOME%\webapps\natmm-internet
+xcopy templates\natmm\*.js* %CATALINA_HOME%\webapps\natmm-internet  /S /D /Y
+xcopy templates\natmm\*.htm* %CATALINA_HOME%\webapps\natmm-internet  /S /D /Y
+GOTO end
+
+:intranet
+echo Copying templates\nmintra to %CATALINA_HOME%\webapps\ROOT\nmintra
+xcopy templates\nmintra\*.js* %CATALINA_HOME%\webapps\ROOT\nmintra  /S /D /Y
+xcopy templates\nmintra\*.htm* %CATALINA_HOME%\webapps\ROOT\nmintra  /S /D /Y
+GOTO end
+
+:nothing
+echo Nothing good found in %CATALINA_HOME%\webapps !!
+
+:end
+echo Done.
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to