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:
parent
1fb61dfbbe
commit
0a0de978a1
|
@ -35,26 +35,28 @@ done
|
||||||
if [ $force ]; then
|
if [ $force ]; then
|
||||||
echo "Creating tomcat symlink..."
|
echo "Creating tomcat symlink..."
|
||||||
ln -s apache-tomcat-${TOMCAT_VERSION} ${TOMCAT_DST_FOLDER}
|
ln -s apache-tomcat-${TOMCAT_VERSION} ${TOMCAT_DST_FOLDER}
|
||||||
echo "Created"
|
echo "done."
|
||||||
ls -l ${TOMCAT_DST_FOLDER}
|
ls -l ${TOMCAT_DST_FOLDER}
|
||||||
|
|
||||||
|
echo -e "\n"
|
||||||
echo "Adding the following variables to environment..."
|
echo "Adding the following variables to environment..."
|
||||||
echo "${ENV_VARIABLES}"
|
echo "${ENV_VARIABLES}"
|
||||||
echo "${ENV_VARIABLES}" >> ~/.bashrc
|
echo "${ENV_VARIABLES}" >> ~/.bashrc
|
||||||
|
echo "done."
|
||||||
|
|
||||||
echo ""
|
echo -e "\n"
|
||||||
echo "Loading new environment..."
|
echo "Loading new environment..."
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|
||||||
echo ""
|
echo -e "\n"
|
||||||
echo "Entering on SmartGear Distribution Directory"
|
echo -e "Entering on SmartGear distribution directory ${SMARTGEAR_DISTRIBUTION_DIRECTORY}\n"
|
||||||
cd ${SMARTGEAR_DISTRIBUTION_DIRECTORY}
|
cd ${SMARTGEAR_DISTRIBUTION_DIRECTORY}
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Launching SmartGear install for Tomcat...."
|
echo "Launching SmartGear install for Tomcat...."
|
||||||
./install -s 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:"
|
echo "Just few steps to do to reach the goal:"
|
||||||
else
|
else
|
||||||
echo "We are showing the list of steps to setup SmartGear."
|
echo "We are showing the list of steps to setup SmartGear."
|
||||||
|
@ -74,7 +76,7 @@ else
|
||||||
echo "source ~/.bashrc"
|
echo "source ~/.bashrc"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Enter on SmartGear Distribution Directory " ${SMARTGEAR_DISTRIBUTION_DIRECTORY}
|
echo "Enter on SmartGear distribution directory"
|
||||||
echo "cd ${SMARTGEAR_DISTRIBUTION_DIRECTORY}"
|
echo "cd ${SMARTGEAR_DISTRIBUTION_DIRECTORY}"
|
||||||
|
|
||||||
echo ""
|
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 "- Launch Tomcat from ${SMATGEAR_ROOT} using the command ${CATALINA_STARTUP_SCRIPT}"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "By default Tomcat start on 8080 port.
|
echo "PLEASE NOTE:
|
||||||
If you want to change this port REMEMBER to modify ${CONTAINER_XML} consistently"
|
By default Tomcat start on 8080 port. If you want to change this port REMEMBER to modify ${CONTAINER_XML} consistently"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue