You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by mb...@apache.org on 2007/04/19 17:56:40 UTC

svn commit: r530465 - in /incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts: runPearPackager.bat runPearPackager.sh

Author: mbaessler
Date: Thu Apr 19 08:56:39 2007
New Revision: 530465

URL: http://svn.apache.org/viewvc?view=rev&rev=530465
Log:
UIMA-377

add script files to run the pear packager

JIRA ticket https://issues.apache.org/jira/browse/UIMA-377

Added:
    incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.bat   (with props)
    incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.sh   (with props)

Added: incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.bat
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.bat?view=auto&rev=530465
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.bat (added)
+++ incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.bat Thu Apr 19 08:56:39 2007
@@ -0,0 +1,26 @@
+@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.
+
+@echo on
+
+setlocal
+
+call "%UIMA_HOME%\bin\setUimaClassPath"
+if "%JAVA_HOME%"=="" (set UIMA_JAVA_CALL=java) else (set UIMA_JAVA_CALL=%JAVA_HOME%\bin\java)
+"%UIMA_JAVA_CALL%" -cp "%UIMA_CLASSPATH%" %UIMA_JVM_OPTS% "-Djava.util.logging.config.file=%UIMA_LOGGER_CONFIG_FILE%" "-Duima.home=%UIMA_HOME%" "-Duima.datapath=%UIMA_DATAPATH%" org.apache.uima.tools.pear.packager.PearPackager %*

Propchange: incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.sh
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.sh?view=auto&rev=530465
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.sh (added)
+++ incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.sh Thu Apr 19 08:56:39 2007
@@ -0,0 +1,27 @@
+#!/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_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.home=$UIMA_HOME" $UIMA_JVM_OPTS org.apache.uima.tools.pear.packager.PearPackager $*

Propchange: incubator/uima/uimaj/trunk/uimaj-distr/src/main/scripts/runPearPackager.sh
------------------------------------------------------------------------------
    svn:eol-style = LF