You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/11/19 20:56:30 UTC

svn commit: r1411376 - in /airavata/sandbox/client-api-demo: copy.sh deploy.sh

Author: heshan
Date: Mon Nov 19 19:56:29 2012
New Revision: 1411376

URL: http://svn.apache.org/viewvc?rev=1411376&view=rev
Log:
Updates to scripts.

Modified:
    airavata/sandbox/client-api-demo/copy.sh
    airavata/sandbox/client-api-demo/deploy.sh

Modified: airavata/sandbox/client-api-demo/copy.sh
URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/copy.sh?rev=1411376&r1=1411375&r2=1411376&view=diff
==============================================================================
--- airavata/sandbox/client-api-demo/copy.sh (original)
+++ airavata/sandbox/client-api-demo/copy.sh Mon Nov 19 19:56:29 2012
@@ -1,16 +1,20 @@
 #!/bin/bash 
 echo "Copying artifacts."
 
-echo "Removing the old airavata-rest-services ..."
-rm -r -f /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/ airavata-rest-services*
+#echo "Removing the old airavata-rest-services ..."
+#rm -r -f /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/ airavata-rest-services*
 echo "Copying the airavata-rest-services.war to webapps"
 cp /home/heshan/Dev/apache/trunk/airavata/trunk/modules/rest/service/target/airavata-rest-services.war /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps
 
-echo "Removing the old client-api-demo war ..."
-rm -r -f /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/client-api-demo*
+#echo "Removing the old client-api-demo war ..."
+#rm -r -f /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/client-api-demo*
 echo "Copying the client-api-demo war to webapps"
 cp target/client-api-demo.war /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps
 
+sleep 10
+
 echo "Copying mysql jar to airavata-rest-services module"
 cp ~/Downloads/mysql-connector-java-5.0.8/mysql-connector-java-5.0.8-bin.jar ~/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/airavata-rest-services/WEB-INF/lib/
 
+echo "cp ~/Downloads/mysql-connector-java-5.0.8/mysql-connector-java-5.0.8-bin.jar ~/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/airavata-rest-services/WEB-INF/lib/"
+

Modified: airavata/sandbox/client-api-demo/deploy.sh
URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/deploy.sh?rev=1411376&r1=1411375&r2=1411376&view=diff
==============================================================================
--- airavata/sandbox/client-api-demo/deploy.sh (original)
+++ airavata/sandbox/client-api-demo/deploy.sh Mon Nov 19 19:56:29 2012
@@ -12,10 +12,12 @@ rm -r -f /home/heshan/Dev/sc12/demo1/apa
 echo "Copying the client-api-demo war to webapps"
 cp target/client-api-demo.war /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps
 
+sleep 15
+
 echo "Copying mysql jar to airavata-rest-services module"
 cp ~/Downloads/mysql-connector-java-5.0.8/mysql-connector-java-5.0.8-bin.jar ~/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/airavata-rest-services/WEB-INF/lib/
 
-sleep 10
+#sleep 10
 #echo "Copying the repository.properties to webapp ..."
 #cp /home/heshan/Dev/sc12/demo1/repository.properties /home/heshan/Dev/sc12/demo1/apache-tomcat-7.0.28/webapps/client-api-demo/WEB-INF/classes/ -v
 #echo "Copying the deployment.properties to webapp ..."