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 2011/01/24 15:35:45 UTC

svn commit: r1062800 - in /incubator/opennlp/trunk/opennlp-tools/bin: ./ opennlp

Author: joern
Date: Mon Jan 24 14:35:44 2011
New Revision: 1062800

URL: http://svn.apache.org/viewvc?rev=1062800&view=rev
Log:
OPENNLP-80 Added development script which uses maven to launch the OpenNLP Command Line Interface

Added:
    incubator/opennlp/trunk/opennlp-tools/bin/
    incubator/opennlp/trunk/opennlp-tools/bin/opennlp   (with props)

Added: incubator/opennlp/trunk/opennlp-tools/bin/opennlp
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/bin/opennlp?rev=1062800&view=auto
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/bin/opennlp (added)
+++ incubator/opennlp/trunk/opennlp-tools/bin/opennlp Mon Jan 24 14:35:44 2011
@@ -0,0 +1,20 @@
+#!/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.
+
+mvn -q exec:java "-Dexec.mainClass=opennlp.tools.cmdline.CLI" "-Dexec.args=$*"
\ No newline at end of file

Propchange: incubator/opennlp/trunk/opennlp-tools/bin/opennlp
------------------------------------------------------------------------------
    svn:executable = *