Skip to content

Commit 8ce0520

Browse files
committed
JavaDB is no more
1 parent b6e606a commit 8ce0520

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

OpenGrok

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Usage()
105105

106106
exec >&2
107107
echo ""
108-
echo "Usage: ${progname} <bootstrap|deploy|derby|update|updateQuietly|usage|help>"
108+
echo "Usage: ${progname} <bootstrap|deploy|update|updateQuietly|usage|help>"
109109
echo " ${progname} index [<directory>]"
110110
echo " ${progname} indexpart <directory_1> [<directory_2> ..]"
111111
echo " ${progname} clearHistory <src_root> <repository_name>"
@@ -974,30 +974,6 @@ DeployWar()
974974
Progress
975975
}
976976

977-
DerbyServer()
978-
{
979-
case "${OS_NAME}:${OS_VERSION}" in
980-
SunOS:5.10) Error "unsupported OS" ;;
981-
SunOS:5.11)
982-
/sbin/svcadm enable javadb
983-
;;
984-
SunOS:5.12)
985-
echo "Below might need your socket permission setup"
986-
echo "see JDK1.7_51 release notes"
987-
set -x
988-
mkdir -p $DATA_ROOT/derby
989-
java -Dderby.system.home=$DATA_ROOT/derby \
990-
-jar /usr/jdk/instances/jdk1.7.0/db/lib/derbynet.jar start
991-
;;
992-
Linux:*)
993-
mkdir -p $DATA_ROOT/derby
994-
java -Dderby.system.home=$DATA_ROOT/derby \
995-
-jar /usr/lib/jvm/java-6-sun/db/lib/derbynet.jar start
996-
;;
997-
*) Error "unsupported OS" ;;
998-
esac
999-
}
1000-
1001977
#
1002978
# Clear history index for given project.
1003979
#
@@ -1025,12 +1001,6 @@ case "${1}" in
10251001
DeployWar
10261002
;;
10271003

1028-
derby)
1029-
ValidateConfiguration
1030-
CreateRuntimeRequirements
1031-
DerbyServer
1032-
;;
1033-
10341004
update)
10351005
ValidateConfiguration
10361006
CreateRuntimeRequirements

0 commit comments

Comments
 (0)