You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ka...@apache.org on 2006/12/11 09:26:57 UTC

svn commit: r485551 - in /webservices/axis2/trunk/c/rampart/samples/client/enc_echo: deploy_client_repo.bat update_n_run.bat

Author: kaushalye
Date: Mon Dec 11 00:26:56 2006
New Revision: 485551

URL: http://svn.apache.org/viewvc?view=rev&rev=485551
Log:
Adding two bat files to update/deploy samples

Added:
    webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.bat
    webservices/axis2/trunk/c/rampart/samples/client/enc_echo/update_n_run.bat

Added: webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.bat
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.bat?view=auto&rev=485551
==============================================================================
--- webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.bat (added)
+++ webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.bat Mon Dec 11 00:26:56 2006
@@ -0,0 +1,28 @@
+echo off
+
+rem if your client repository is different, change the value.
+set CLIENT_REPO=%HOMEDRIVE%%HOMEPATH%\clientrepo
+
+echo Start creating a client repository at %CLIENT_REPO%
+
+if exist  "%CLIENT_REPO%" (
+    echo %CLIENT_REPO% exists.
+) else (
+    echo Creating a new directory for client repo
+    mkdir "%CLIENT_REPO%"
+)
+
+
+@echo Copying axis2.xml to client_repo
+copy /Y ".\data\client.enc.axis2.xml" "%CLIENT_REPO%\axis2.xml"
+
+@echo Copying axis2.xml to AXIS2C_HOME
+copy /Y ".\data\server.enc.axis2.xml" "%AXIS2C_HOME%\axis2.xml"
+
+@echo Copying libraries to client_repo
+xcopy /S/I/Q/Y "%AXIS2C_HOME%\lib" "%CLIENT_REPO%\lib"
+
+@echo Copying latest modules to client_repo
+xcopy /S/I/Q/Y "%AXIS2C_HOME%\modules" "%CLIENT_REPO%\modules"
+
+echo on
\ No newline at end of file

Added: webservices/axis2/trunk/c/rampart/samples/client/enc_echo/update_n_run.bat
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/samples/client/enc_echo/update_n_run.bat?view=auto&rev=485551
==============================================================================
--- webservices/axis2/trunk/c/rampart/samples/client/enc_echo/update_n_run.bat (added)
+++ webservices/axis2/trunk/c/rampart/samples/client/enc_echo/update_n_run.bat Mon Dec 11 00:26:56 2006
@@ -0,0 +1,12 @@
+@echo off
+rem if your client repository is different, change the value.
+set CLIENT_REPO=%HOMEDRIVE%%HOMEPATH%\clientrepo
+
+rem INSTALL MODULE to make sure that both server and client have the same module.
+echo "Copying latest module to client_repo"
+xcopy "%AXIS2C_HOME%\modules\rampart" "%CLIENT_REPO%\modules"
+
+echo RUN echo.exe http://localhost:9090/axis2/services/echo $CLIENT_REPO
+"%AXIS2C_HOME%\rampart\samples\client\enc_echo\enc_echo.exe" http://localhost:9090/axis2/services/echo $CLIENT_REPO
+
+@echo on



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org