Author: jfrederic.clere(a)jboss.com
Date: 2011-01-13 02:25:59 -0500 (Thu, 13 Jan 2011)
New Revision: 2723
Modified:
trunk/build/unix/buildbin.TC7.sh
Log:
Cleanup stuff before starting....
Modified: trunk/build/unix/buildbin.TC7.sh
===================================================================
--- trunk/build/unix/buildbin.TC7.sh 2011-01-13 07:18:39 UTC (rev 2722)
+++ trunk/build/unix/buildbin.TC7.sh 2011-01-13 07:25:59 UTC (rev 2723)
@@ -84,6 +84,10 @@
sed "/org.apache.jasper.servlet.JspServlet/r $HOME/tcks/conf/web.xml.jsp"
$native_sources/output/build/conf/web.xml > $$.xml
mv $$.xml $native_sources/output/build/conf/web.xml
+# Starting tomcat...
+rm -rf $native_sources/output/build/work
+rm -rf $native_sources/output/build/logs
+mkdir $native_sources/output/build/logs
(cd $native_sources/output/build; bin/startup.sh)
echo ""
echo "Waiting for Tomcat to start"
@@ -145,6 +149,9 @@
EOF
# Starting tomcat...
+rm -rf $native_sources/output/build/work
+rm -rf $native_sources/output/build/logs
+mkdir $native_sources/output/build/logs
(cd $native_sources/output/build; bin/startup.sh)
echo ""
echo "Waiting for Tomcat to start"
Show replies by date