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/08/28 22:31:55 UTC

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

Author: cwiklik
Date: Fri Aug 28 20:31:55 2009
New Revision: 809020

URL: http://svn.apache.org/viewvc?rev=809020&view=rev
Log:
UIMA-1531 Modified to use dynamic class loading 

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=809020&r1=809019&r2=809020&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 Aug 28 20:31:55 2009
@@ -27,7 +27,6 @@
 
 :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
@@ -35,8 +34,14 @@
 @rem call ddmake %1
 @rem call dd2spring %1 %spring_file%
 
+@rem Set ActiveMQ home
+@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)
-@"%UIMA_JAVA_CALL%" -cp "%UIMA_CLASSPATH%" "-Duima.datapath=%UIMA_DATAPATH%" "-Djava.util.logging.config.file=%UIMA_LOGGER_CONFIG_FILE%" %UIMA_JVM_OPTS%  org.apache.uima.adapter.jms.service.UIMA_Service -saxonURL "file:%UIMA_HOME%\saxon\saxon8.jar" -xslt "%UIMA_HOME%\bin\dd2spring.xsl" -dd %*
+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 %*
+
 @goto end
 :usage
  @echo Deployment descriptor %1 not found