CVS eclipse/debian/extra

Stephan Michels tashiro-guest at haydn.debian.org
Sat Nov 5 14:37:33 UTC 2005


Update of /cvsroot/pkg-java/eclipse/debian/extra
In directory haydn:/tmp/cvs-serv7427/extra

Modified Files:
	eclipse.sh 
Log Message:
debian/extra/eclipse.sh: Print help message for -h and --help.
Removed the special handling for the workspace location. Closes: #337564


--- /cvsroot/pkg-java/eclipse/debian/extra/eclipse.sh	2005/10/30 12:10:49	1.2
+++ /cvsroot/pkg-java/eclipse/debian/extra/eclipse.sh	2005/11/05 14:37:33	1.3
@@ -2,7 +2,6 @@
 
 # Having any sort of classpath causes massive breakage, with Kaffe at least.
 unset CLASSPATH; export CLASSPATH
-unset WORKSPACE; export WORKSPACE
 
 # Allow the user to specify their own Java home, we check for it later.
 #unset JAVA_HOME; export JAVA_HOME
@@ -32,16 +31,17 @@
 # them after parsing that file.
 while [ "$1" ]; do
     if [ "$1" = "-h" -o "$1" = "--help" ]; then
-        usage
+        echo "Eclipse Starter Script"
+	echo "Usage:"
+	echo "eclipse [options [value]]"
+	echo "See eclipse(1) for more information."
+	echo ""
+	echo "Also see ~/.eclipse/eclipserc, which provides some default values"
         exit 0
     elif [ "$1" = "-vm" ]; then
         shift
         JAVA_HOME="$1"
         shift
-    elif [ "$1" = "-data" ]; then
-        shift
-        WORKSPACE="$1"
-        shift
     else
         CMDLINEARGS="${CMDLINEARGS} $1"
         shift
@@ -93,26 +93,10 @@
     export MOZILLA_FIVE_HOME=/usr/lib/mozilla
 fi
 
-# If the user has not overridden the default workspace, set the default.
-#if [ -z "${WORKSPACE}" ]; then
-#    WORKSPACE=~/eclipse
-#    export WORKSPACE
-#fi
-
-#if [ ! -d "${WORKSPACE}" ]; then
-#    mkdir "${WORKSPACE}" > /dev/null 2>&1
-#    if [ $? -ne 0 ]; then
-#        zenity \
-#            --error \
-#            --title="Could not launch Eclipse Platform" \
-#            --text="Could not create workspace at ${WORKSPACE}."
-#    fi
-#fi
-
 # Do the actual launch of Eclipse with the selected VM.
 /usr/lib/eclipse/eclipse \
     -vm "${JAVA_HOME}/bin/java" \
-    -install /usr/lib/eclipse "${CMDLINEARGS}" \
+    -install /usr/lib/eclipse ${CMDLINEARGS} \
     -vmargs -Djava.library.path=/usr/lib/jni \
             -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db \
             -Dosgi.locking=none



More information about the pkg-java-commits mailing list