You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2009/09/04 15:40:35 UTC

svn commit: r811392 - /incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/deployAsyncService.cmd

Author: cwiklik
Date: Fri Sep  4 13:40:35 2009
New Revision: 811392

URL: http://svn.apache.org/viewvc?rev=811392&view=rev
Log:
UIMA-1531 Modified to call setUimaClasspath, removed UimaBootstrap and instead depend on executable jar 

Modified:
    incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/deployAsyncService.cmd

Modified: incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/deployAsyncService.cmd
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/deployAsyncService.cmd?rev=811392&r1=811391&r2=811392&view=diff
==============================================================================
--- incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/deployAsyncService.cmd (original)
+++ incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/deployAsyncService.cmd Fri Sep  4 13:40:35 2009
@@ -28,6 +28,8 @@
 :RUN
 @setlocal
 
+@call "%UIMA_HOME%\bin\setUimaClassPath"
+
 @rem set spring_file=%~n1_spring.xml
 @rem ddmake does not work because it will not rebuild if the component descriptor changed
 @rem but the deployment descriptor did not.  For now we always build the Spring XML.
@@ -35,12 +37,14 @@
 @rem call dd2spring %1 %spring_file%
 
 @rem Set ActiveMQ home
-@if "%ACTIVEMQ_HOME%"=="" (set ACTIVEMQ_HOME="%UIMA_HOME%\apache-activemq-4.1.1")
+
+
+@if "%ACTIVEMQ_HOME%"=="" (set ACTIVEMQ_HOME=%UIMA_HOME%\apache-activemq-4.1.1)
 
 @if "%JAVA_HOME%"=="" (set UIMA_JAVA_CALL=java) else (set UIMA_JAVA_CALL=%JAVA_HOME%\bin\java)
 echo %ACTIVEMQ_HOME%
 
-@"%UIMA_JAVA_CALL%" -cp "%UIMA_HOME%\lib\uimaj-bootstrap.jar" -Dorg.apache.uima.jarpath="%UIMA_HOME%\lib;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional;%USER_JAR_PATH%" org.apache.uima.bootstrap.UimaBootstrap  org.apache.uima.adapter.jms.service.UIMA_Service -saxonURL "file:%UIMA_HOME%\saxon\saxon8.jar" -xslt "%UIMA_HOME%\bin\dd2spring.xsl" -dd %*
+@"%UIMA_JAVA_CALL%" "-Duima.datapath=%UIMA_DATAPATH%" "-Djava.util.logging.config.file=%UIMA_LOGGER_CONFIG_FILE%" %UIMA_JVM_OPTS% -DUimaBootstrapSuppressClassPathDisplay -Dorg.apache.uima.jarpath="%UIMA_CLASSPATH%;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional;%UIMA_JAR_PATH%" -jar "%UIMA_HOME%\lib\uimaj-bootstrap.jar" org.apache.uima.adapter.jms.service.UIMA_Service -saxonURL "file:%UIMA_HOME%\saxon\saxon8.jar" -xslt "%UIMA_HOME%\bin\dd2spring.xsl" -dd %*
 
 @goto end
 :usage