[jboss-osgi-commits] JBoss-OSGI SVN: r89540 - projects/jboss-osgi/trunk/distribution/runtime/bin.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Fri May 29 17:56:44 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-05-29 17:56:43 -0400 (Fri, 29 May 2009)
New Revision: 89540

Modified:
   projects/jboss-osgi/trunk/distribution/runtime/bin/run.sh
Log:
Use OSGiBootstrap as main

Modified: projects/jboss-osgi/trunk/distribution/runtime/bin/run.sh
===================================================================
--- projects/jboss-osgi/trunk/distribution/runtime/bin/run.sh	2009-05-29 21:51:10 UTC (rev 89539)
+++ projects/jboss-osgi/trunk/distribution/runtime/bin/run.sh	2009-05-29 21:56:43 UTC (rev 89540)
@@ -142,7 +142,7 @@
 # Execute the JVM in the foreground
 "$JAVA" $JAVA_OPTS \
   -classpath "$OSGI_CLASSPATH" \
-  -Dmainclass=org.jboss.osgi.spi.framework.OSGiBootstrap org.kohsuke.args4j.Starter "$@" &
+  org.jboss.osgi.spi.framework.OSGiBootstrap "$@" &
 
 OSGI_PID=$!
 echo $OSGI_PID > $OSGI_HOME/bin/pid.txt
@@ -162,7 +162,7 @@
   if [ "${WAIT_STATUS}" -gt 128 ]; then
     SIGNAL=`expr ${WAIT_STATUS} - 128`
     SIGNAL_NAME=`kill -l ${SIGNAL}`
-    echo "*** OSGi Runtime process (${OSGI_PID}) received ${SIGNAL_NAME} signal ***" >&2
+    # echo "*** OSGi Runtime process (${OSGI_PID}) received ${SIGNAL_NAME} signal ***" >&2
   fi          
 done
 if [ "${WAIT_STATUS}" -lt 127 ]; then




More information about the jboss-osgi-commits mailing list