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:00:33 UTC
svn commit: r386223 -
/geronimo/branches/1.1/modules/scripts/src/resources/bin/geronimo.bat
Author: jsisson
Date: Wed Mar 15 16:00:31 2006
New Revision: 386223
URL: http://svn.apache.org/viewcvs?rev=386223&view=rev
Log:
GERONIMO-1744 - "dt_shmem" default in geronimo.bat for JPDA_TRANSPORT environment variable not compatible with Eclipse debugger
Modified:
geronimo/branches/1.1/modules/scripts/src/resources/bin/geronimo.bat
Modified: geronimo/branches/1.1/modules/scripts/src/resources/bin/geronimo.bat
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/scripts/src/resources/bin/geronimo.bat?rev=386223&r1=386222&r2=386223&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/scripts/src/resources/bin/geronimo.bat (original)
+++ geronimo/branches/1.1/modules/scripts/src/resources/bin/geronimo.bat Wed Mar 15 16:00:31 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