You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/09/20 06:51:19 UTC
svn commit: r290358 -
/maven/components/trunk/sandbox/repoclean/src/main/bash/repoclean.sh
Author: brett
Date: Mon Sep 19 21:51:14 2005
New Revision: 290358
URL: http://svn.apache.org/viewcvs?rev=290358&view=rev
Log:
add debug option
Modified:
maven/components/trunk/sandbox/repoclean/src/main/bash/repoclean.sh
Modified: maven/components/trunk/sandbox/repoclean/src/main/bash/repoclean.sh
URL: http://svn.apache.org/viewcvs/maven/components/trunk/sandbox/repoclean/src/main/bash/repoclean.sh?rev=290358&r1=290357&r2=290358&view=diff
==============================================================================
--- maven/components/trunk/sandbox/repoclean/src/main/bash/repoclean.sh (original)
+++ maven/components/trunk/sandbox/repoclean/src/main/bash/repoclean.sh Mon Sep 19 21:51:14 2005
@@ -22,6 +22,11 @@
shift
fi
+if [ "$1" == "debug" ]; then
+ JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
+ shift
+fi
+
if [ -z "$JAVA_HOME" ]; then
JAVA_HOME=/usr/local/java
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org