Author: richard.opalka(a)jboss.com
Date: 2008-01-24 07:58:52 -0500 (Thu, 24 Jan 2008)
New Revision: 5531
Modified:
framework/trunk/hudson/jboss/bin/jboss.sh
Log:
[JBWS-1962] adding TCK specific targets
Modified: framework/trunk/hudson/jboss/bin/jboss.sh
===================================================================
--- framework/trunk/hudson/jboss/bin/jboss.sh 2008-01-24 12:54:25 UTC (rev 5530)
+++ framework/trunk/hudson/jboss/bin/jboss.sh 2008-01-24 12:58:52 UTC (rev 5531)
@@ -44,10 +44,20 @@
$JBOSS_HOME/bin/shutdown.sh -S > /dev/null &
fi
;;
+tcsstart)
+ # This version of run.sh obtains the pid of the JVM and saves it as jboss.pid
+ # It relies on bash specific features
+ # Do you want to hide jboss output?
+ /bin/bash $DIRNAME/runjboss.sh -b $BINDADDR -c cts &
+ ;;
restart)
$0 stop
$0 start
;;
+tcsrestart)
+ $0 stop
+ $0 tcsstart
+ ;;
*)
- echo "usage: $0 jboss_instance (start|stop|restart|help)"
+ echo "usage: $0 jboss_instance
(start|stop|tcsstart|restart|tcsrestart|help)"
esac