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
This commit is contained in:
Luca Frosini 2015-03-11 15:28:51 +00:00
parent 1fb61dfbbe
commit 0a0de978a1
1 changed files with 11 additions and 8 deletions

View File

@ -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"