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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to