Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37884929
en ru br
Репозитории ALT
S:2.4.0-alt1_10jpp11
5.1: 1.8.0.8-alt2_2.patch01.7jpp5
4.1: 1.8.0.7-alt2
4.0: 1.8.0.7-alt2
3.0: 1.7.3.3-alt1
www.altlinux.org/Changes

Группа :: Разработка/Java
Пакет: hsqldb

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

#!/bin/sh
#
# hsqldb Run Util
#

while [ $# -gt 0 ] ; do
case "$1" in
-h|-help) cat <<EOF
Usage: $0 {options} arguments

Options can be

-h -help
shows usage

-hotspot
-client
-server
-classic
-native
-green
specifies the type of JVM

-J<jvm_options>
passes <jvm_option> to JVM
-cp:p <classpath>
prepends <classpath> to classpath
-cp:a <classpath>
appends <classpath> to classpath

All other options and arguments are passed to the program.
See documentation for details.

EOF
exit 1
;;
-cp|-cp:a)
shift;
if [ $# -gt 0 ] ; then
if [ ! -z "$postfixcp" ] ; then postfixcp="$postfixcp:" ; fi
postfixcp=$postfixcp$1;
fi
;;

-cp:p)
shift;
if [ $# -gt 0 ] ; then
if [ ! -z "$prefixcp" ] ; then prefixcp="$prefixcp:" ; fi
prefixcp=$prefixcp$1;
fi
;;

-hotspot|-client|-server|-classic|-native|-green) thread_flag=$1;;
-J-hotspot|-J-client|-J-server|-J-classic|-J-native|-J-green) thread_flag=`expr $1 : '-J\(.*\)'`;;
-J*) jopt=`expr "$1" : '-J\(.*\)'`; jargs="$jargs \"$jopt\"";;
*)
if [ -z "$args" ]; then
args="$1"
else
args="$args $1"
fi
;;
esac
shift
done

. /usr/lib/java-common/java-functions

FindJVM

dbhome=/var/lib/hsqldb

cd $dbhome/data

/usr/bin/java $thread_flag -classpath $prefixcp/usr/share/java/hsqldb.jar:/usr/share/java/servletapi.jar$postfixcp $jargs org.hsqldb.util.$args
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin