You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ve...@apache.org on 2009/08/16 01:57:39 UTC
svn commit: r804541 -
/webservices/axis2/trunk/java/modules/tool/script/axis2server.bat
Author: veithen
Date: Sat Aug 15 23:57:39 2009
New Revision: 804541
URL: http://svn.apache.org/viewvc?rev=804541&view=rev
Log:
AXIS2-4261: Applied patch provided by Charith Dhanushka Wickramarachchi to add support for the -xdebug switch in the Windows script as well. Also set eol-style to Windows.
Modified:
webservices/axis2/trunk/java/modules/tool/script/axis2server.bat (contents, props changed)
Modified: webservices/axis2/trunk/java/modules/tool/script/axis2server.bat
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/script/axis2server.bat?rev=804541&r1=804540&r2=804541&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/script/axis2server.bat (original)
+++ webservices/axis2/trunk/java/modules/tool/script/axis2server.bat Sat Aug 15 23:57:39 2009
@@ -38,9 +38,28 @@
if "%AXIS2_HOME%"=="" set AXIS2_HOME=%DEFAULT_AXIS2_HOME%
set DEFAULT_AXIS2_HOME=
+if ""%1""==""-xdebug"" goto xdebug
+if ""%1""==""-h"" goto help
+if ""%1""=="""" goto checkConf
+
+:xdebug
+set JAVA_OPTS= %JAVA_OPTS% -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000
+goto checkConf
+
+:help
+echo Usage: axis2server.bat
+
+echo commands:
+echo -xdebug Start Axis2 Server under JPDA debugger
+
+echo -h help
+goto end
+
+
+
rem find AXIS2_HOME if it does not exist due to either an invalid value passed
rem by the user or the %0 problem on Windows 9x
-
+:checkConf
if exist "%AXIS2_HOME%\conf\axis2.xml" goto checkJava
:noAxis2Home
Propchange: webservices/axis2/trunk/java/modules/tool/script/axis2server.bat
------------------------------------------------------------------------------
svn:eol-style = CRLF