airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1298682 - /incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xregistry-migrator.sh
Date Fri, 09 Mar 2012 01:08:29 GMT
Author: heshan
Date: Fri Mar  9 01:08:28 2012
New Revision: 1298682

URL: http://svn.apache.org/viewvc?rev=1298682&view=rev
Log:
AIRAVATA-309 shell script for running the xregistry migration tool.

Added:
    incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xregistry-migrator.sh

Added: incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xregistry-migrator.sh
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xregistry-migrator.sh?rev=1298682&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xregistry-migrator.sh
(added)
+++ incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xregistry-migrator.sh
Fri Mar  9 01:08:28 2012
@@ -0,0 +1,23 @@
+#!/bin/sh
+# WSO2 ESB Migration Tool
+
+echo "\n      ** Build Script for XRegistry Migration Tool **"
+echo "      ==========================================\n"
+
+# Absolute path of this script.
+SCRIPT=$(readlink -f $0)
+# Full path of the directory where current script is in.
+TOOL_CLASSPATH=`dirname $SCRIPT`
+
+#---------- Add jars to classpath ------------------
+for f in ../lib/*.jar
+do
+  TOOL_CLASSPATH="$TOOL_CLASSPATH":$f
+done
+#echo "classpath : $TOOL_CLASSPATH"
+
+#---------- Running the migration client -----------
+java -cp "$TOOL_CLASSPATH" org.apache.airavata.migrator.registry.XRegistryMigrationManager
$1
+
+
+



Mime
View raw message