[jboss-cvs] JBossAS SVN: r89606 - in projects/jboss-osgi/trunk/hudson/hudson-home: bin and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 1 11:13:19 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-06-01 11:13:19 -0400 (Mon, 01 Jun 2009)
New Revision: 89606

Modified:
   projects/jboss-osgi/trunk/hudson/hudson-home/bin/startup.sh
   projects/jboss-osgi/trunk/hudson/hudson-home/command.sh
Log:
Start with explicit profile config

Modified: projects/jboss-osgi/trunk/hudson/hudson-home/bin/startup.sh
===================================================================
--- projects/jboss-osgi/trunk/hudson/hudson-home/bin/startup.sh	2009-06-01 14:40:14 UTC (rev 89605)
+++ projects/jboss-osgi/trunk/hudson/hudson-home/bin/startup.sh	2009-06-01 15:13:19 UTC (rev 89606)
@@ -3,8 +3,9 @@
 PROGNAME=`basename $0`
 DIRNAME=`dirname $0`
 RUNTIME_HOME="$1"
+SERVER_NAME="$2"
 BINDADDR="$3"
-CMD="$2"
+CMD="$4"
 
 export RUNTIME_HOME
 
@@ -24,7 +25,7 @@
 start)
     # This version of run.sh obtains the pid of the JVM and saves it as jboss.pid
     # It relies on bash specific features
-    /bin/bash $RUNTIME_HOME/bin/run.sh -b $BINDADDR &
+    /bin/bash $RUNTIME_HOME/bin/run.sh -c SERVER_NAME -b $BINDADDR &
     ;;
 stop)
     pidfile="$RUNTIME_HOME/bin/pid.txt"

Modified: projects/jboss-osgi/trunk/hudson/hudson-home/command.sh
===================================================================
--- projects/jboss-osgi/trunk/hudson/hudson-home/command.sh	2009-06-01 14:40:14 UTC (rev 89605)
+++ projects/jboss-osgi/trunk/hudson/hudson-home/command.sh	2009-06-01 15:13:19 UTC (rev 89606)
@@ -92,7 +92,7 @@
 #
 # start jbossas/runtime
 #
-$HUDSONBIN/startup.sh $RUNTIME_HOME start $JBOSS_BINDADDR
+$HUDSONBIN/startup.sh $RUNTIME_HOME $SERVER_NAME $JBOSS_BINDADDR start
 
 #
 # Was it successfully started?




More information about the jboss-cvs-commits mailing list