You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by js...@apache.org on 2006/03/16 01:54:56 UTC
svn commit: r386231 -
/geronimo/trunk/modules/scripts/src/resources/bin/geronimo.bat
Author: jsisson
Date: Wed Mar 15 16:54:55 2006
New Revision: 386231
URL: http://svn.apache.org/viewcvs?rev=386231&view=rev
Log:
GERONIMO-1744 - "dt_shmem" default in geronimo.bat for JPDA_TRANSPORT environment variable not compatible with Eclipse debugger (merged from 1.1 branch).
Modified:
geronimo/trunk/modules/scripts/src/resources/bin/geronimo.bat
Modified: geronimo/trunk/modules/scripts/src/resources/bin/geronimo.bat
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/scripts/src/resources/bin/geronimo.bat?rev=386231&r1=386230&r2=386231&view=diff
==============================================================================
--- geronimo/trunk/modules/scripts/src/resources/bin/geronimo.bat (original)
+++ geronimo/trunk/modules/scripts/src/resources/bin/geronimo.bat Wed Mar 15 16:54:55 2006
@@ -78,11 +78,13 @@
@REM JDB_SRCPATH (Optional) The Source Path to be used by jdb debugger.
@REM Defaults to %GERONIMO_HOME%\src
@REM
-@REM JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
-@REM command is executed. The default is "dt_shmem".
-@REM
@REM JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
-@REM command is executed. The default is "jdbconn".
+@REM command is executed. The default is "8000".
+@REM
+@REM JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
+@REM command is executed. The default is "dt_socket".
+@REM Note that "dt_socket" is the default instead of "dt_shmem"
+@REM because eclipse does not support "dt_shmem".
@REM
@REM Troubleshooting execution of this batch file:
@REM
@@ -195,10 +197,12 @@
if not ""%1"" == ""jpda"" goto noJpda
set JPDA=jpda
if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
-set JPDA_TRANSPORT=dt_shmem
+@REM Note that "dt_socket" is the default instead of "dt_shmem"
+@REM because eclipse does not support "dt_shmem".
+set JPDA_TRANSPORT=dt_socket
:gotJpdaTransport
if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
-set JPDA_ADDRESS=jdbconn
+set JPDA_ADDRESS=8000
:gotJpdaAddress
shift
:noJpda