r1868 - trunk/eclipse/debian/extra

Stephan Michels tashiro-guest at costa.debian.org
Tue Feb 7 17:46:40 UTC 2006


Author: tashiro-guest
Date: 2006-02-07 17:46:40 +0000 (Tue, 07 Feb 2006)
New Revision: 1868

Modified:
   trunk/eclipse/debian/extra/eclipse.sh
Log:
Allow to override "startup" argument.


Modified: trunk/eclipse/debian/extra/eclipse.sh
===================================================================
--- trunk/eclipse/debian/extra/eclipse.sh	2006-02-07 17:40:59 UTC (rev 1867)
+++ trunk/eclipse/debian/extra/eclipse.sh	2006-02-07 17:46:40 UTC (rev 1868)
@@ -9,6 +9,7 @@
 CMDLINEARGS=""
 VMARGS=""
 INSTALL="/usr/share/eclipse"
+STARTUP="/usr/share/eclipse/startup.jar"
 
 if [ -x /usr/bin/zenity ]; then
     DIALOG=/usr/bin/zenity
@@ -59,6 +60,10 @@
         shift
         INSTALL="$1"
         shift
+    elif [ "$1" = "-startup" ]; then
+        shift
+        STARTUP="$1"
+        shift
     elif [ "$1" = "-vmargs" ]; then
         shift
 	while [ "$1" ]; do
@@ -130,8 +135,8 @@
 # Do the actual launch of Eclipse with the selected VM.
 /usr/lib/eclipse/eclipse \
     -vm "${JAVACMD}" \
-    -install ${INSTALL} \
-    -startup /usr/share/eclipse/startup.jar \
+    -install "${INSTALL}" \
+    -startup "${STARTUP}" \
     ${CMDLINEARGS} \
     -vmargs -Djava.library.path=/usr/lib/jni \
             -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db \




More information about the pkg-java-commits mailing list