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:41:07 UTC
svn commit: r811394 -
/incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.cmd
Author: cwiklik
Date: Fri Sep 4 13:41:07 2009
New Revision: 811394
URL: http://svn.apache.org/viewvc?rev=811394&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/runRemoteAsyncAE.cmd
Modified: incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.cmd
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.cmd?rev=811394&r1=811393&r2=811394&view=diff
==============================================================================
--- incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.cmd (original)
+++ incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.cmd Fri Sep 4 13:41:07 2009
@@ -25,6 +25,14 @@
:RUN
@setlocal
@call "%UIMA_HOME%\bin\setUimaClassPath"
+
+@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.examples.as.RunRemoteAsyncAE %*
+
+echo %ACTIVEMQ_HOME%
+
+
+@"%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.examples.as.RunRemoteAsyncAE %*
:EXIT