You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2010/12/15 17:08:23 UTC
svn commit: r1049626 -
/synapse/branches/2.0/modules/distribution/src/main/bin/synapse-config-migrator.sh
Author: ruwan
Date: Wed Dec 15 16:08:23 2010
New Revision: 1049626
URL: http://svn.apache.org/viewvc?rev=1049626&view=rev
Log:
as the migration tool will normally be running on the new version it is useless to assume the old path, so fixing it to exit
Modified:
synapse/branches/2.0/modules/distribution/src/main/bin/synapse-config-migrator.sh
Modified: synapse/branches/2.0/modules/distribution/src/main/bin/synapse-config-migrator.sh
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/modules/distribution/src/main/bin/synapse-config-migrator.sh?rev=1049626&r1=1049625&r2=1049626&view=diff
==============================================================================
--- synapse/branches/2.0/modules/distribution/src/main/bin/synapse-config-migrator.sh (original)
+++ synapse/branches/2.0/modules/distribution/src/main/bin/synapse-config-migrator.sh Wed Dec 15 16:08:23 2010
@@ -107,7 +107,7 @@ fi
# endorsed dir
SYNAPSE_ENDORSED=$SYNAPSE_HOME/lib/endorsed
-MIGRATING_CONFIG=$SYNAPSE_HOME/repository/conf/synapse.xml
+MIGRATING_CONFIG=""
if [ ! $1 == '' ]; then
if [ "$1" = "-h" ]; then
echo "Usage: synapse-config-migrator.sh"
@@ -117,12 +117,11 @@ if [ ! $1 == '' ]; then
MIGRATING_CONFIG=$1
fi
else
- echo ""
- echo "[WARNING] Location of the configuration to be migrated has not been provided."
- echo "[WARNING] Assuming the file to be migrated as :"
- echo " $MIGRATING_CONFIG"
+ echo "[FATAL] Location of the configuration to be migrated has not been provided."
echo ""
echo "Use -h option for help"
+ echo ""
+ exit 1
fi