From 0a0de978a141cbbaeec737cda56e5d3bb48a5194 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 11 Mar 2015 15:28:51 +0000 Subject: [PATCH] Creating pom to autobuild bundle. Refs #3280 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution-bundle@113572 82a268e6-3cf1-43bd-a215-b396298e98cf --- src/resources/setup.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/resources/setup.sh b/src/resources/setup.sh index 2f64270..1e67715 100644 --- a/src/resources/setup.sh +++ b/src/resources/setup.sh @@ -35,26 +35,28 @@ done if [ $force ]; then echo "Creating tomcat symlink..." ln -s apache-tomcat-${TOMCAT_VERSION} ${TOMCAT_DST_FOLDER} - echo "Created" + echo "done." ls -l ${TOMCAT_DST_FOLDER} + echo -e "\n" echo "Adding the following variables to environment..." echo "${ENV_VARIABLES}" echo "${ENV_VARIABLES}" >> ~/.bashrc + echo "done." - echo "" + echo -e "\n" echo "Loading new environment..." source ~/.bashrc - echo "" - echo "Entering on SmartGear Distribution Directory" + echo -e "\n" + echo -e "Entering on SmartGear distribution directory ${SMARTGEAR_DISTRIBUTION_DIRECTORY}\n" cd ${SMARTGEAR_DISTRIBUTION_DIRECTORY} echo "" echo "Launching SmartGear install for Tomcat...." ./install -s tomcat - echo -e "\n\n\n\n" + echo -e "\n\n\n" echo "Just few steps to do to reach the goal:" else echo "We are showing the list of steps to setup SmartGear." @@ -74,7 +76,7 @@ else echo "source ~/.bashrc" echo "" - echo "Enter on SmartGear Distribution Directory " ${SMARTGEAR_DISTRIBUTION_DIRECTORY} + echo "Enter on SmartGear distribution directory" echo "cd ${SMARTGEAR_DISTRIBUTION_DIRECTORY}" echo "" @@ -96,7 +98,8 @@ CATALINA_STARTUP_SCRIPT="${TOMCAT_DST_FOLDER}/bin/startup.sh" echo "- Launch Tomcat from ${SMATGEAR_ROOT} using the command ${CATALINA_STARTUP_SCRIPT}" echo "" -echo "By default Tomcat start on 8080 port. -If you want to change this port REMEMBER to modify ${CONTAINER_XML} consistently" +echo "PLEASE NOTE: +By default Tomcat start on 8080 port. If you want to change this port REMEMBER to modify ${CONTAINER_XML} consistently" +