You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ka...@apache.org on 2006/12/05 11:43:21 UTC
svn commit: r482583 -
/webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.sh
Author: kaushalye
Date: Tue Dec 5 02:43:20 2006
New Revision: 482583
URL: http://svn.apache.org/viewvc?view=rev&rev=482583
Log:
Adding easy to use script to create a client repository
Added:
webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.sh (with props)
Added: webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.sh?view=auto&rev=482583
==============================================================================
--- webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.sh (added)
+++ webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.sh Tue Dec 5 02:43:20 2006
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+CLIENT_REPO="$HOME/client_repo"
+echo "Start creating a client repository at $CLIENT_REPO"
+
+if [-d $CLIENT_REPO]; then
+ echo "$CLIENT_REPO exists. "
+else
+ #Create client repo
+ echo "Creating a new directory for client repo"
+ mkdir $CLIENT_REPO
+fi
+
+
+#copy [client]axis2.xml to CLIENT_REPO
+echo "Copying axis2.xml to client_repo"
+cp data/client.enc.axis2.xml $CLIENT_REPO/
+
+#copy [server]axis2.xml to AXIS2C_HOME
+cp data/server.enc.axis2.xml $AXIS2C_HOME/axis2.xml
+
+#copy libs to client_repo
+echo "Copying libraries to client_repo"
+cp -rr $AXIS2C_HOME/lib $CLIENT_REPO/
+
+#INSTALL MODULES to make sure that both server and client have the same module.
+echo "Copying latest modules to client_repo"
+cp -r $AXIS2C_HOME/modules $CLIENT_REPO/
+
Propchange: webservices/axis2/trunk/c/rampart/samples/client/enc_echo/deploy_client_repo.sh
------------------------------------------------------------------------------
svn:executable = *
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org