incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1417026 - /incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh
Date Tue, 04 Dec 2012 16:47:59 GMT
Author: chenpei
Date: Tue Dec  4 16:47:58 2012
New Revision: 1417026

URL: http://svn.apache.org/viewvc?rev=1417026&view=rev
Log:
CTAKES-114 - the runctakesCPE.sh had incorrect line endings. causes issues for ubuntu.  CVD
was fine so just copied it and replace the main class with CPE.

Modified:
    incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh

Modified: incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh?rev=1417026&r1=1417025&r2=1417026&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh (original)
+++ incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh Tue Dec  4 16:47:58
2012
@@ -1,42 +1,42 @@
-#
-# 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.
-#
-
-# Requires JAVA JDK 1.6+
-# If you plan to use the UMLS Resources, set/export env variables
-# export ctakes.umlsuser=[username], ctakes.umlspw=[password]
-# or add the properties
-# -Dctakes.umlsuser=[username] -Dctakes.umlspw=[password]
-
-PRG="$0"
-while [ -h "$PRG" ]; do
-  ls=`ls -ld "$PRG"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    PRG="$link"
-  else
-    PRG=`dirname "$PRG"`/"$link"
-  fi
-done
-PRGDIR=`dirname "$PRG"`
-
-# Only set CTAKES_HOME if not already set
-[ -z "$CTAKES_HOME" ] && CTAKES_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
-
-cd $CTAKES_HOME
-java -cp $CTAKES_HOME/lib/*:$CTAKES_HOME/desc/:$CTAKES_HOME/resources/ -Dlog4j.configuration=file:$CTAKES_HOME/config/log4j.xml
-Xms512M -Xmx1024M org.apache.uima.tools.cpm.CpmFrame
+#
+# 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.
+#
+
+# Requires JAVA JDK 1.6+
+# If you plan to use the UMLS Resources, set/export env variables
+# export ctakes.umlsuser=[username], ctakes.umlspw=[password]
+# or add the properties
+# -Dctakes.umlsuser=[username] -Dctakes.umlspw=[password]
+
+PRG="$0"
+while [ -h "$PRG" ]; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+PRGDIR=`dirname "$PRG"`
+
+# Only set CTAKES_HOME if not already set
+[ -z "$CTAKES_HOME" ] && CTAKES_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
+
+cd $CTAKES_HOME
+java -cp $CTAKES_HOME/lib/*:$CTAKES_HOME/desc/:$CTAKES_HOME/resources/ -Dlog4j.configuration=file:$CTAKES_HOME/config/log4j.xml
-Xms512M -Xmx1024M org.apache.uima.tools.cpm.CpmFrame



Mime
View raw message