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/04/15 16:04:17 UTC

svn commit: r765205 - /incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh

Author: cwiklik
Date: Wed Apr 15 14:04:16 2009
New Revision: 765205

URL: http://svn.apache.org/viewvc?rev=765205&view=rev
Log:
UIMA-1327 Modified to test (and set) executable bit on activemq runnable

Modified:
    incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh

Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh?rev=765205&r1=765204&r2=765205&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh Wed Apr 15 14:04:16 2009
@@ -44,4 +44,8 @@
   cp "$UIMA_HOME/config/log4j.properties" "$ACTIVEMQ_BASE/conf/"
 fi
 
+if [ ! -x "$ACTIVEMQ_HOME/bin/activemq" ]; then
+    chmod +x "$ACTIVEMQ_HOME/bin/activemq"
+fi
+
 "$ACTIVEMQ_HOME/bin/activemq" "xbean:file:$ACTIVEMQ_BASE/conf/activemq-nojournal.xml"