stable/branches/experimental/app-admin/novell-novlc1/files/novell-novlc1-1.3.6

30 lines
839 B
Groff
Raw Normal View History

2007-04-16 22:18:38 +02:00
# Get Classpath
unset classpath
classpath="$classpath:$APPHOME/ConsoleOne.jar"
classpath="$classpath:$APPHOME/ConsoleOneCore.jar"
classpath="$classpath:$APPHOME/help"
classpath="$classpath:/usr/lib/jclient.jar"
classpath="$classpath:/opt/novell/eDirectory/lib/jclient.jar"
classpath="$classpath:/opt/NOVLn4u/lib/jclient.jar"
# BEGIN TEMP
classpath="$classpath:/usr/lib/dirxml/classes/jclient.jar"
classpath="$classpath:/opt/NOVLn4u/dirxml/classes/jclient.jar"
# END TEMP
for jar in $APPHOME/ConsoleOneExt/*.jar; do
classpath="$classpath:$jar"
done
classpath="$classpath:$CLASSPATH"
prog="${jre}/bin/java"
# Run.
if [ -x "$prog" ]
then
$prog -noverify -Dapplication.home="${APPHOME}" -classpath "$classpath" com.novell.application.console.shell.Console "$@"
else
echo >&2 "$progname was not found in ${prog}"
exit 1
fi