You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jk...@apache.org on 2010/12/26 18:05:02 UTC

svn commit: r1052917 - /incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat

Author: jkosin
Date: Sun Dec 26 17:05:02 2010
New Revision: 1052917

URL: http://svn.apache.org/viewvc?rev=1052917&view=rev
Log:
OPENNLP-44: added a working batch file for Windows. (needs work!)

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

Added: incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat?rev=1052917&view=auto
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat (added)
+++ incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat Sun Dec 26 17:05:02 2010
@@ -0,0 +1,24 @@
+@ECHO off
+
+REM #   Licensed to the Apache Software Foundation (ASF) under one
+REM #   or more contributor license agreements.  See the NOTICE file
+REM #   distributed with this work for additional information
+REM #   regarding copyright ownership.  The ASF licenses this file
+REM #   to you under the Apache License, Version 2.0 (the
+REM #   "License"); you may not use this file except in compliance
+REM #   with the License.  You may obtain a copy of the License at
+REM #
+REM #    http://www.apache.org/licenses/LICENSE-2.0
+REM #
+REM #   Unless required by applicable law or agreed to in writing,
+REM #   software distributed under the License is distributed on an
+REM #   #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+REM #   KIND, either express or implied.  See the License for the
+REM #   specific language governing permissions and limitations
+REM #   under the License.
+
+REM # TODO: this section needs some work....
+IF "%JAVA_CMD%" == "" SET JAVA_CMD=java
+IF "%OPENNLP_HOME%" == "" SET OPENNLP_HOME=.
+
+%JAVA_CMD% -Xmx4096m -jar %OPENNLP_HOME%\opennlp-tools-*.jar %*

Propchange: incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat
------------------------------------------------------------------------------
    svn:eol-style = native