You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/03/20 09:54:49 UTC

git commit: Setup improvements. Extract quietly

Repository: incubator-stratos
Updated Branches:
  refs/heads/master ff227d736 -> f4c0d3a09


Setup improvements. Extract quietly


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/f4c0d3a0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/f4c0d3a0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/f4c0d3a0

Branch: refs/heads/master
Commit: f4c0d3a092c6ec17004d2ef9290ccdc30acc53e1
Parents: ff227d7
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Thu Mar 20 08:54:33 2014 +0000
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Thu Mar 20 08:54:33 2014 +0000

----------------------------------------------------------------------
 tools/stratos-installer/setup.sh | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f4c0d3a0/tools/stratos-installer/setup.sh
----------------------------------------------------------------------
diff --git a/tools/stratos-installer/setup.sh b/tools/stratos-installer/setup.sh
index c6c8fcc..7c22229 100755
--- a/tools/stratos-installer/setup.sh
+++ b/tools/stratos-installer/setup.sh
@@ -269,7 +269,7 @@ function sm_conf_validate {
 	exit 1
     fi
     if [[ ! -f $mysql_connector_jar ]]; then
-        echo "Please copy the mysql connector jar into the same folder as this command(stratos release pack folder) and update conf/setup.conf file"
+        echo "Please copy the mysql connector jar to the stratos release pack folder and update the JAR name in conf/setup.conf file"
         exit 1
     fi
     if [[ -z $cc_port_offset || -z $as_port_offset ]]; then
@@ -340,22 +340,26 @@ echo ""
 
 if [[ $mb = "true" ]]; then
     if [[ ! -d $mb_path ]]; then
-        unzip $mb_pack_path -d $stratos_path
+        echo "Extracting Message Broker"
+        unzip -q $mb_pack_path -d $stratos_path
     fi
 fi
 if [[ $cep = "true" ]]; then
     if [[ ! -d $cep_path ]]; then
-        unzip $cep_pack_path -d $stratos_path
+        echo "Extracting Complex Event Processor"
+        unzip -q $cep_pack_path -d $stratos_path
     fi
 fi
 if [[ $cc = "true" ]]; then
     if [[ ! -d $cc_path ]]; then
-        unzip $cc_pack_path -d $stratos_path
+        echo "Extracting Cloud Controller"
+        unzip -q $cc_pack_path -d $stratos_path
     fi
 fi
 if [[ $as = "true" ]]; then
     if [[ ! -d $as_path ]]; then
-        unzip $as_pack_path -d $stratos_path
+        echo "Extracting Autoscaler"
+        unzip -q $as_pack_path -d $stratos_path
     fi
 fi
 if [[ $sm = "true" ]]; then
@@ -363,7 +367,8 @@ if [[ $sm = "true" ]]; then
         cp -rf ./resources $stratos_path
     fi
     if [[ ! -d $sm_path ]]; then
-        unzip $sm_pack_path -d $stratos_path
+        echo "Extracting Stratos Manager"
+        unzip -q $sm_pack_path -d $stratos_path
     fi
 fi