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:23 UTC
svn commit: r811395 -
/incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh
Author: cwiklik
Date: Fri Sep 4 13:41:23 2009
New Revision: 811395
URL: http://svn.apache.org/viewvc?rev=811395&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.sh
Modified: incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh?rev=811395&r1=811394&r2=811395&view=diff
==============================================================================
--- incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh (original)
+++ incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh Fri Sep 4 13:41:23 2009
@@ -24,10 +24,17 @@
fi
. "$UIMA_HOME/bin/setUimaClassPath.sh"
+
if [ "$JAVA_HOME" = "" ]
then
UIMA_JAVA_CALL=java
else
UIMA_JAVA_CALL="$JAVA_HOME/bin/java"
fi
-"$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 $*
+
+if [ "$ACTIVEMQ_HOME" = "" ]
+then
+ ACTIVEMQ_HOME=$UIMA_HOME/apache-activemq-4.1.1
+fi
+
+"$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 $*