CVS eclipse/debian/extra
Stephan Michels
tashiro-guest at haydn.debian.org
Thu Jan 12 13:49:02 UTC 2006
Update of /cvsroot/pkg-java/eclipse/debian/extra
In directory haydn:/tmp/cvs-serv12923/extra
Modified Files:
eclipse.sh
Log Message:
debian/extra/eclipse.sh: Make the -vmargs and -install
arguments usable. Closes: #347749
--- /cvsroot/pkg-java/eclipse/debian/extra/eclipse.sh 2006/01/07 21:20:24 1.9
+++ /cvsroot/pkg-java/eclipse/debian/extra/eclipse.sh 2006/01/12 13:49:02 1.10
@@ -7,6 +7,8 @@
#unset JAVA_HOME; export JAVA_HOME
CMDLINEARGS=""
+VMARGS=""
+INSTALL="/usr/lib/eclipse"
# Make sure this directory exists.
if [ ! -d ~/.eclipse ]; then
@@ -43,6 +45,16 @@
unset JAVA_HOME
JAVACMD="$1"
shift
+ elif [ "$1" = "-install" ]; then
+ shift
+ INSTALL="$1"
+ shift
+ elif [ "$1" = "-vmargs" ]; then
+ shift
+ while [ "$1" ]; do
+ VMARGS="${VMARGS} $1"
+ shift
+ done
else
CMDLINEARGS="${CMDLINEARGS} $1"
shift
@@ -108,10 +120,11 @@
# Do the actual launch of Eclipse with the selected VM.
/usr/lib/eclipse/eclipse \
-vm "${JAVACMD}" \
- -install /usr/lib/eclipse ${CMDLINEARGS} \
+ -install ${INSTALL} \
+ ${CMDLINEARGS} \
-vmargs -Djava.library.path=/usr/lib/jni \
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db \
-Dgnu.gcj.runtime.VMClassLoader.library_control=never \
- -Dosgi.locking=none
+ -Dosgi.locking=none ${VMARGS}
exit $?
More information about the pkg-java-commits
mailing list