You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by sh...@apache.org on 2008/02/15 05:50:36 UTC
svn commit: r627949 - in /webservices/rampart/trunk/c:
build/win32/deploy_rampart.bat samples/client/saml_echo/update_n_run.bat
samples/secpolicy/test_scen.bat
Author: shankar
Date: Thu Feb 14 20:50:31 2008
New Revision: 627949
URL: http://svn.apache.org/viewvc?rev=627949&view=rev
Log:
batch files for scenario14
Added:
webservices/rampart/trunk/c/samples/client/saml_echo/update_n_run.bat
Modified:
webservices/rampart/trunk/c/build/win32/deploy_rampart.bat
webservices/rampart/trunk/c/samples/secpolicy/test_scen.bat
Modified: webservices/rampart/trunk/c/build/win32/deploy_rampart.bat
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/build/win32/deploy_rampart.bat?rev=627949&r1=627948&r2=627949&view=diff
==============================================================================
--- webservices/rampart/trunk/c/build/win32/deploy_rampart.bat (original)
+++ webservices/rampart/trunk/c/build/win32/deploy_rampart.bat Thu Feb 14 20:50:31 2008
@@ -6,6 +6,7 @@
md %AXIS2C_HOME%\modules\rampart\
copy modules\rampart\mod_rampart.dll %AXIS2C_HOME%\modules\rampart\
copy modules\rampart\module.xml %AXIS2C_HOME%\modules\rampart\
+copy modules\rampart\mod_rampart.dll %AXIS2C_HOME%\lib\
md %AXIS2C_HOME%\services\sec_echo\
copy bin\samples\services\sec_echo\sec_echo.dll %AXIS2C_HOME%\services\sec_echo\
Added: webservices/rampart/trunk/c/samples/client/saml_echo/update_n_run.bat
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/client/saml_echo/update_n_run.bat?rev=627949&view=auto
==============================================================================
--- webservices/rampart/trunk/c/samples/client/saml_echo/update_n_run.bat (added)
+++ webservices/rampart/trunk/c/samples/client/saml_echo/update_n_run.bat Thu Feb 14 20:50:31 2008
@@ -0,0 +1,11 @@
+@echo off
+rem if your client repository is different, change the value.
+set CLIENT_REPO=%AXIS2C_HOME%\client_repo
+
+rem INSTALL MODULE to make sure that both server and client have the same module.
+echo "Copying latest module to client_repo"
+xcopy /E /Y /I "%AXIS2C_HOME%\modules\rampart" "%CLIENT_REPO%\modules\rampart"
+
+%AXIS2C_HOME%\bin\samples\rampart\client\saml_echo\echo.exe http://localhost:9090/axis2/services/sec_echo/echoString %CLIENT_REPO%
+
+@echo on
Modified: webservices/rampart/trunk/c/samples/secpolicy/test_scen.bat
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/secpolicy/test_scen.bat?rev=627949&r1=627948&r2=627949&view=diff
==============================================================================
--- webservices/rampart/trunk/c/samples/secpolicy/test_scen.bat (original)
+++ webservices/rampart/trunk/c/samples/secpolicy/test_scen.bat Thu Feb 14 20:50:31 2008
@@ -26,7 +26,12 @@
pause %_SLEEP%
echo Go to client directory
-cd %_SMPL_DIR%/../client/sec_echo
+if not "%1" == "scenario14" goto else
+ cd %_SMPL_DIR%/../client/saml_echo
+ goto endif
+:else
+ cd %_SMPL_DIR%/../client/sec_echo
+:endif
echo Run the sample
call update_n_run.bat