tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1555353 - /tomee/tomee/trunk/assembly/openejb-standalone/src/main/resources/openejb
Date Sat, 04 Jan 2014 14:50:42 GMT
Author: rmannibucau
Date: Sat Jan  4 14:50:42 2014
New Revision: 1555353

URL: http://svn.apache.org/r1555353
Log:
OPENEJB-2065 fixing debug test

Modified:
    tomee/tomee/trunk/assembly/openejb-standalone/src/main/resources/openejb

Modified: tomee/tomee/trunk/assembly/openejb-standalone/src/main/resources/openejb
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/assembly/openejb-standalone/src/main/resources/openejb?rev=1555353&r1=1555352&r2=1555353&view=diff
==============================================================================
--- tomee/tomee/trunk/assembly/openejb-standalone/src/main/resources/openejb (original)
+++ tomee/tomee/trunk/assembly/openejb-standalone/src/main/resources/openejb Sat Jan  4 14:50:42
2014
@@ -80,9 +80,9 @@ OPENEJB_CORE_JAR="$OPENEJB_HOME/lib/open
 OPENEJB_JAVAAGENT_JAR="$OPENEJB_HOME/lib/openejb-javaagent-${version}.jar"
 
 args="$@"
-if [ "x$@" = "xdebug" ]; then
-    OPENEJB_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
-    args="start"
+if [ "x$1" = "xdebug" ]; then
+    OPENEJB_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005
$OPENEJB_OPTS"
+	args="start"
 fi
 
 java $OPENEJB_OPTS  "-Djava.util.logging.config.file=$OPENEJB_HOME/conf/logging.properties"
"-javaagent:$OPENEJB_JAVAAGENT_JAR" -cp "$OPENEJB_CORE_JAR"  org.apache.openejb.cli.Bootstrap
"$args"



Mime
View raw message