You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by na...@apache.org on 2009/01/08 01:05:06 UTC
svn commit: r732564 - /xml/xindice/trunk/xindiced.bat
Author: natalia
Date: Wed Jan 7 16:05:06 2009
New Revision: 732564
URL: http://svn.apache.org/viewvc?rev=732564&view=rev
Log:
Fixed settings for Jetty v6
Modified:
xml/xindice/trunk/xindiced.bat
Modified: xml/xindice/trunk/xindiced.bat
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/xindiced.bat?rev=732564&r1=732563&r2=732564&view=diff
==============================================================================
--- xml/xindice/trunk/xindiced.bat (original)
+++ xml/xindice/trunk/xindiced.bat Wed Jan 7 16:05:06 2009
@@ -103,7 +103,7 @@
set _JAVA_DEBUG_PORT=8000
:gotDebugPort
-set _JAVA_ARGS=-classpath %LOCALCLASSPATH% -Djava.endorsed.dirs=lib\endorsed -Dxindice.home="%_XINDICE_HOME%" -Dxindice.db.home="%_XINDICE_HOME%" -Dxindice.configuration="%_XINDICE_CONFIG%" -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser -Djetty.port=%_JETTY_PORT% -Dwebapp=%_JETTY_WEBAPP%
+set _JAVA_ARGS=-classpath %LOCALCLASSPATH% -Djava.endorsed.dirs=lib\endorsed -Dxindice.home="%_XINDICE_HOME%" -Dxindice.db.home="%_XINDICE_HOME%" -Dxindice.configuration="%_XINDICE_CONFIG%" -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser -Djetty.home="%_XINDICE_HOME%/tools/jetty" -Djetty.port=%_JETTY_PORT% -Dwebapp=%_JETTY_WEBAPP%
:: ----- Check action ----------------------------------------------------------
@@ -121,19 +121,19 @@
:: ----- Start Servlet ---------------------------------------------------------
:doStart
-%_EXEC% %_JAVACMD% %_JAVA_OPTIONS% %_JAVA_ARGS% org.mortbay.jetty.Server tools\jetty\conf\main.xml
+%_EXEC% %_JAVACMD% %_JAVA_OPTIONS% %_JAVA_ARGS% org.mortbay.start.Main tools\jetty\conf\main.xml
goto end
:: ----- Run Servlet -----------------------------------------------------------
:doRun
-%_JAVACMD% %_JAVA_OPTIONS% %_JAVA_ARGS% org.mortbay.jetty.Server tools\jetty\conf\main.xml
+%_JAVACMD% %_JAVA_OPTIONS% %_JAVA_ARGS% org.mortbay.start.Main tools\jetty\conf\main.xml
goto end
:: ----- Servlet Debug ---------------------------------------------------------
:doDebug
-%_EXEC% %_JAVACMD% %_JAVA_OPTIONS% -Xdebug -Xrunjdwp:transport=dt_socket,address=%_JAVA_DEBUG_PORT%,server=y,suspend=n %_JAVA_ARGS% -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.defaultlog=DEBUG org.mortbay.jetty.Server tools\jetty\conf\main.xml
+%_EXEC% %_JAVACMD% %_JAVA_OPTIONS% -Xdebug -Xrunjdwp:transport=dt_socket,address=%_JAVA_DEBUG_PORT%,server=y,suspend=n %_JAVA_ARGS% -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.defaultlog=DEBUG org.mortbay.start.Main tools\jetty\conf\main.xml
goto end