You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ea...@apache.org on 2008/03/26 21:19:01 UTC
svn commit: r641543 - in
/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts:
activemq.sh dd2spring.sh runRemoteAsyncAE.sh setUimaClassPath.sh
startBroker.sh
Author: eae
Date: Wed Mar 26 13:19:00 2008
New Revision: 641543
URL: http://svn.apache.org/viewvc?rev=641543&view=rev
Log:
UIMA-934 fix eol property for UNIX scripts
Modified:
incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/activemq.sh (props changed)
incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.sh (contents, props changed)
incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh (contents, props changed)
incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/setUimaClassPath.sh (contents, props changed)
incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh (contents, props changed)
Propchange: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/activemq.sh
------------------------------------------------------------------------------
svn:eol-style = LF
Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.sh
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.sh?rev=641543&r1=641542&r2=641543&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.sh (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.sh Wed Mar 26 13:19:00 2008
@@ -1,33 +1,33 @@
-#!/bin/sh
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-if [ "$UIMA_HOME" == "" ]
-then
- echo UIMA_HOME environment variable is not set
- exit 1
-fi
-
-if [ "$JAVA_HOME" = "" ]
-then
- UIMA_JAVA_CALL=java
-else
- UIMA_JAVA_CALL="$JAVA_HOME/bin/java"
-fi
-. "$UIMA_HOME/bin/setUimaClassPath.sh"
-"$UIMA_JAVA_CALL" -cp "$UIMA_CLASSPATH:$UIMA_HOME/saxon/saxon8.jar" "-Duima.datapath=$UIMA_DATAPATH" -Xmx256M net.sf.saxon.Transform -l -s $1 -o $2 $UIMA_HOME/bin/dd2spring.xsl $3
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+if [ "$UIMA_HOME" == "" ]
+then
+ echo UIMA_HOME environment variable is not set
+ exit 1
+fi
+
+if [ "$JAVA_HOME" = "" ]
+then
+ UIMA_JAVA_CALL=java
+else
+ UIMA_JAVA_CALL="$JAVA_HOME/bin/java"
+fi
+. "$UIMA_HOME/bin/setUimaClassPath.sh"
+"$UIMA_JAVA_CALL" -cp "$UIMA_CLASSPATH:$UIMA_HOME/saxon/saxon8.jar" "-Duima.datapath=$UIMA_DATAPATH" -Xmx256M net.sf.saxon.Transform -l -s $1 -o $2 $UIMA_HOME/bin/dd2spring.xsl $3
Propchange: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.sh
------------------------------------------------------------------------------
svn:eol-style = LF
Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh?rev=641543&r1=641542&r2=641543&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh Wed Mar 26 13:19:00 2008
@@ -1,33 +1,33 @@
-#!/bin/sh
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-if [ "$UIMA_HOME" == "" ]
-then
- echo UIMA_HOME environment variable is not set
- exit 1
-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 $*
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+if [ "$UIMA_HOME" == "" ]
+then
+ echo UIMA_HOME environment variable is not set
+ exit 1
+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 $*
Propchange: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/runRemoteAsyncAE.sh
------------------------------------------------------------------------------
svn:eol-style = LF
Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/setUimaClassPath.sh
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/setUimaClassPath.sh?rev=641543&r1=641542&r2=641543&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/setUimaClassPath.sh (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/setUimaClassPath.sh Wed Mar 26 13:19:00 2008
@@ -1,76 +1,76 @@
-#!/bin/sh
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/examples/resources:$UIMA_HOME/lib/uima-core.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uima-document-annotation.jar:$UIMA_HOME/lib/uima-cpe.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uima-tools.jar:$UIMA_HOME/lib/uima-examples.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uima-adapter-soap.jar:$UIMA_HOME/lib/uima-adapter-vinci.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/axis.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-discovery.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-logging.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-logging-1.0.4.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/jaxrpc.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/saaj.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/activation.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/jVinci.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/activemq-core-5.0.0.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/activemq-optional-5.0.0.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/commons-httpclient-2.0.1.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/xstream-1.1.2.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/xmlpull-1.1.3.4d_b4_min.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/jetty-6.1.4.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/jetty-util-6.1.4.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/servlet-api-2.5-6.1.4.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/commons-logging-1.1.1.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/commons-pool-1.2.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/spring-2.0.6.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/geronimo-jms_1.1_spec-1.0.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/geronimo-j2ee-management_1.0_spec-1.0.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uimaj-as-core.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uimaj-as-activemq.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uimaj-as-jms.jar
-UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/config:$CLASSPATH
-
-ACTIVEMQ_HOME=$UIMA_HOME/apache-activemq-5.0
-
-#set LD_LIBRARY_PATH to support running C++ annotators
-LD_LIBRARY_PATH=$UIMA_HOME/uimacpp/lib:$UIMA_HOME/uimacpp/examples/tutorial/src:$LD_LIBRARY_PATH
-#also set DYLD_LIBRARY_PATH, used by Mac OSX
-DYLD_LIBRARY_PATH=$UIMA_HOME/uimacpp/lib:$UIMA_HOME/uimacpp/examples/tutorial/src:$DYLD_LIBRARY_PATH
-#also set default values for VNS_HOST and VNS_PORT
-if [ "$VNS_HOST" = "" ];
-then
- VNS_HOST=localhost
-fi
-if [ "$VNS_PORT" = "" ];
-then
- VNS_PORT=9000
-fi
-#also set default vlaue for UIMA_LOGGER_CONFIG_FILE
-if [ "$UIMA_LOGGER_CONFIG_FILE" = "" ]
-then
- UIMA_LOGGER_CONFIG_FILE=$UIMA_HOME/config/Logger.properties
-fi
-#set default JVM opts
-if [ "$UIMA_JVM_OPTS" = "" ]
-then
- UIMA_JVM_OPTS="-Xms128M -Xmx800M"
-fi
-
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/examples/resources:$UIMA_HOME/lib/uima-core.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uima-document-annotation.jar:$UIMA_HOME/lib/uima-cpe.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uima-tools.jar:$UIMA_HOME/lib/uima-examples.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uima-adapter-soap.jar:$UIMA_HOME/lib/uima-adapter-vinci.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/axis.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-discovery.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-logging.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/commons-logging-1.0.4.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/jaxrpc.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/saaj.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$CATALINA_HOME/webapps/axis/WEB-INF/lib/activation.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/jVinci.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/activemq-core-5.0.0.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/activemq-optional-5.0.0.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/commons-httpclient-2.0.1.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/xstream-1.1.2.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/xmlpull-1.1.3.4d_b4_min.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/jetty-6.1.4.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/jetty-util-6.1.4.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/servlet-api-2.5-6.1.4.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/commons-logging-1.1.1.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/commons-pool-1.2.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/optional/spring-2.0.6.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/geronimo-jms_1.1_spec-1.0.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/apache-activemq-5.0.0/lib/geronimo-j2ee-management_1.0_spec-1.0.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uimaj-as-core.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uimaj-as-activemq.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/lib/uimaj-as-jms.jar
+UIMA_CLASSPATH=$UIMA_CLASSPATH:$UIMA_HOME/config:$CLASSPATH
+
+ACTIVEMQ_HOME=$UIMA_HOME/apache-activemq-5.0
+
+#set LD_LIBRARY_PATH to support running C++ annotators
+LD_LIBRARY_PATH=$UIMA_HOME/uimacpp/lib:$UIMA_HOME/uimacpp/examples/tutorial/src:$LD_LIBRARY_PATH
+#also set DYLD_LIBRARY_PATH, used by Mac OSX
+DYLD_LIBRARY_PATH=$UIMA_HOME/uimacpp/lib:$UIMA_HOME/uimacpp/examples/tutorial/src:$DYLD_LIBRARY_PATH
+#also set default values for VNS_HOST and VNS_PORT
+if [ "$VNS_HOST" = "" ];
+then
+ VNS_HOST=localhost
+fi
+if [ "$VNS_PORT" = "" ];
+then
+ VNS_PORT=9000
+fi
+#also set default vlaue for UIMA_LOGGER_CONFIG_FILE
+if [ "$UIMA_LOGGER_CONFIG_FILE" = "" ]
+then
+ UIMA_LOGGER_CONFIG_FILE=$UIMA_HOME/config/Logger.properties
+fi
+#set default JVM opts
+if [ "$UIMA_JVM_OPTS" = "" ]
+then
+ UIMA_JVM_OPTS="-Xms128M -Xmx800M"
+fi
+
Propchange: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/setUimaClassPath.sh
------------------------------------------------------------------------------
svn:eol-style = LF
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=641543&r1=641542&r2=641543&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 Mar 26 13:19:00 2008
@@ -1,43 +1,43 @@
-#!/bin/sh
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-if [ "$UIMA_HOME" == "" ]
-then
- echo UIMA_HOME environment variable is not set
- exit 1
-fi
-
-# ActiveMQ needs a writeable directory for the log files and derbydb.
-if [ -z "$ACTIVEMQ_BASE" ] ; then
- export ACTIVEMQ_BASE=amq
-fi
-
-# If the directory doesn't exist, make it
-if [ ! -d "$ACTIVEMQ_BASE" ] ; then
- mkdir $ACTIVEMQ_BASE
- mkdir $ACTIVEMQ_BASE/conf
-fi
-
-# If the config file isn't there, copy it
-if [ ! -f $ACTIVEMQ_BASE/conf/activemq-nojournal.xml ] ; then
- cp $UIMA_HOME/config/activemq-nojournal.xml $ACTIVEMQ_BASE/conf/
- cp $UIMA_HOME/config/log4j.properties $ACTIVEMQ_BASE/conf/
-fi
-
-. $UIMA_HOME/bin/activemq.sh xbean:file:$ACTIVEMQ_BASE/conf/activemq-nojournal.xml
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+if [ "$UIMA_HOME" == "" ]
+then
+ echo UIMA_HOME environment variable is not set
+ exit 1
+fi
+
+# ActiveMQ needs a writeable directory for the log files and derbydb.
+if [ -z "$ACTIVEMQ_BASE" ] ; then
+ export ACTIVEMQ_BASE=amq
+fi
+
+# If the directory doesn't exist, make it
+if [ ! -d "$ACTIVEMQ_BASE" ] ; then
+ mkdir $ACTIVEMQ_BASE
+ mkdir $ACTIVEMQ_BASE/conf
+fi
+
+# If the config file isn't there, copy it
+if [ ! -f $ACTIVEMQ_BASE/conf/activemq-nojournal.xml ] ; then
+ cp $UIMA_HOME/config/activemq-nojournal.xml $ACTIVEMQ_BASE/conf/
+ cp $UIMA_HOME/config/log4j.properties $ACTIVEMQ_BASE/conf/
+fi
+
+. $UIMA_HOME/bin/activemq.sh xbean:file:$ACTIVEMQ_BASE/conf/activemq-nojournal.xml
Propchange: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/startBroker.sh
------------------------------------------------------------------------------
svn:eol-style = LF