#!/bin/bash
#
# 安裝eclipse 2.1.2 腳本 (eclipse 2.1.2 install shell )
# filename: ei.sh (eclipse 2.1.2)
# author: alongbow
# /*...download from eclipse.org...*/
# http://www.eclipse.org/downloads/index.PHP
# http://www.eclipse.org/tools/downloads.Html
# /*...use this command to list zip file...*/
# unzip -l eclipse-SDK-2.1.2-Linux-gtk.zip
# /*...eXPort the eclipse install Directory ( ECLPDIR ) ...*/
export ECLPDIR=/data
unzip -d $ECLPDIR eclipse-SDK-2.1.2-linux-gtk.zip
unzip -d $ECLPDIR eclipse-examples-2.1.2.zip
unzip -d $ECLPDIR cdt-full-1.2-linux-gtk.zip
unzip -d $ECLPDIR/eclipse emf_1.1.1_20031020_1612WL.zip
unzip -d $ECLPDIR/eclipse emf.source_1.1.1_20031020_1612WL.zip
unzip -d $ECLPDIR/eclipse emf.doc_1.1.1_20031020_1612WL.zip
unzip -d $ECLPDIR/eclipse uml2_200312011515.zip
unzip -d $ECLPDIR/eclipse uml2.examples_200312011515.zip
unzip -d $ECLPDIR/eclipse xsd_1.1.1_20031020_1612WL.zip
unzip -d $ECLPDIR/eclipse xsd.doc_1.1.1_20031020_1612WL.zip
unzip -d $ECLPDIR/eclipse xsd.source_1.1.1_20031020_1612WL.zip
unzip -d $ECLPDIR/eclipse GEF-SDK-I20031015.zip
unzip -d $ECLPDIR/eclipse GEF-Automated-Tests-I20031015.zip
unzip -d $ECLPDIR/eclipse GEF-examples-I20031015.zip
unzip -d $ECLPDIR eclipse2.1.1-SDK-Linux-gtk-LanguagePackFeature.zip
------------------------------------------------ #!/bin/bash
# 執行 eclipse 2.1.2 腳本 (eclipse 2.1.2 run shell )
# filename: eclipse.sh (eclipse 2.1.2)
# author:
#
export ECLPDIR=/home/repository/eclipse/workspace
# /data/eclipse/eclipse -vm $Java_HOME/bin/java -data ~/workspace &
/data/eclipse/eclipse -vm $JAVA_HOME/bin/java -data $ECLPDIR &
# -vm 參數用以指定使用哪一個 jvm 來執行Eclipse,
# -date參數用以指定Eclipse的數據目錄。在此指定其存在用戶根目錄(~)下的workspace目錄中
#將eclipse.sh 復制到/usr/local/bin中,並為它加上權限755;現在執行 eclipse.sh 即可啟動 Eclipse。'