You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2008/12/26 10:14:29 UTC

svn commit: r729469 - /james/server/trunk/spring-deployment/build.xml

Author: rdonkin
Date: Fri Dec 26 01:14:29 2008
New Revision: 729469

URL: http://svn.apache.org/viewvc?rev=729469&view=rev
Log:
Allow debugging by uncommenting line

Modified:
    james/server/trunk/spring-deployment/build.xml

Modified: james/server/trunk/spring-deployment/build.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/build.xml?rev=729469&r1=729468&r2=729469&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/build.xml (original)
+++ james/server/trunk/spring-deployment/build.xml Fri Dec 26 01:14:29 2008
@@ -378,10 +378,12 @@
 # under the License.                                           #
 ################################################################
 
+# Uncomment to get enable remote debugging
+# DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"   
 JAMES_CONSOLE=james.console
 JAMES_PID=james.pid
-JAMES_CMD="java -cp ${exe-classpath}:../conf org.apache.james.container.spring.Main"             
-
+JAMES_CMD="java $DEBUG -cp ${exe-classpath}:../conf org.apache.james.container.spring.Main"             
+            
 case $1 in
  start)
   echo 'Booting James'



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org