You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2012/08/03 13:02:37 UTC
svn commit: r1368885 - in /opennlp/sandbox/corpus-server-tools/bin: ./ tools
Author: joern
Date: Fri Aug 3 11:02:36 2012
New Revision: 1368885
URL: http://svn.apache.org/viewvc?rev=1368885&view=rev
Log:
OPENNLP-532 Added start script.
Added:
opennlp/sandbox/corpus-server-tools/bin/
opennlp/sandbox/corpus-server-tools/bin/tools (with props)
Added: opennlp/sandbox/corpus-server-tools/bin/tools
URL: http://svn.apache.org/viewvc/opennlp/sandbox/corpus-server-tools/bin/tools?rev=1368885&view=auto
==============================================================================
--- opennlp/sandbox/corpus-server-tools/bin/tools (added)
+++ opennlp/sandbox/corpus-server-tools/bin/tools Fri Aug 3 11:02:36 2012
@@ -0,0 +1,23 @@
+#!/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.
+
+export CLASSNAME="$1"
+shift
+mvn -e -q exec:java "-Dexec.mainClass=org.apache.opennlp.corpus_server.tools."$CLASSNAME "-Dexec.args=$*"
Propchange: opennlp/sandbox/corpus-server-tools/bin/tools
------------------------------------------------------------------------------
svn:executable = *