blob: 6856237034b0d921d354516fd899a80ff308ae56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
#
# $FreeBSD$
export JAVA_VERSION
export JAVA_OS
# java
JAVA_VERSION="%%JAVA_VERSION%%"
JAVA_OS="%%JAVA_OS%%"
ECLIPSE_BASE=%%LOCALBASE%%/eclipse
ECLIPSE_SWT_JAR=%%SWTJAR%%
LIB_PATH=%%LIBDIR%%
CLASS_PATH=:%%JAVAJARDIR%%/%%JARFILE%%:${ECLIPSE_SWT_JAR}
if [ "${DEBUG}" ]
then
echo "ECLIPSE_BASE = ${ECLIPSE_BASE}"
echo "ECLIPSE_WS = ${ECLIPSE_WS}"
echo "ECLIPSE_SWT = ${ECLIPSE_SWT}"
echo "ECLIPSE_SWT_JAR = ${ECLIPSE_SWT_JAR}"
echo "CLASS_PATH = ${CLASS_PATH}"
echo "LIB_PATH = ${LIB_PATH}"
fi
exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=FreeBSD" "-Dazureus.config.path=${HOME}/.Azureus" "-Duser.dir=${HOME}/.Azureus" org.gudy.azureus2.ui.swt.Main "${@}"
|