wget http://installit.googlecode.com/hg/install.eclipse.sh -O - | bash -
#/bin/bash # install Java JDK wget http://installit.googlecode.com/hg/install.java-jdk.sh -O - | bash - if [ "$(uname -m)" == "x86_64" ]; then # 64 bit URL=http://mirror.netcologne.de/eclipse/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-linux-gtk-x86_64.tar.gz else # 32 bit URL=http://mirror.netcologne.de/eclipse/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-linux-gtk.tar.gz fi # install eclipse from repository # sudo apt-get install -y eclipse # download new eclipse release wget ${URL} -P /tmp # backup old release sudo mv /usr/lib/eclipse/ /usr/lib/eclipse.$(date -I) # install new release sudo tar xzf /tmp/eclipse-java-*-linux-gtk*.tar.gz -C /usr/lib/ # set owner and permissions sudo chown -R root:root /usr/lib/eclipse sudo chmod -R +r /usr/lib/eclipse # add executable to path cat <<EOF> /tmp/eclipse #!/bin/sh export ECLIPSE_HOME="/usr/lib/eclipse" \${ECLIPSE_HOME}/eclipse $* EOF sudo mv /tmp/eclipse /usr/bin/eclipse sudo chmod 755 /usr/bin/eclipse # create starter cat <<EOF> /tmp/eclipse.desktop [Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse Icon=/usr/lib/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=true EOF sudo mv /tmp/eclipse.desktop /usr/share/applications/eclipse.desktop sudo chmod +r /usr/share/applications/eclipse.desktop # FIXME: Google Web Toolkit Plugin installation dont work, wrong permissions?
Global settings
/usr/lib/eclipse/eclipse.ini
OPTIONAL: change editor line break to 240 char
Project > Properties
Configure Worksapece Settings
Edit
Line Wraping
Maximum line widht: 240
GWT Plugin
Help > Install new software
http://dl.google.com/eclipse/plugin/3.6 - Plugin for Eclipse (and SDKs)
http://dl.google.com/eclipse/inst/d2wbpro/beta/3.6 - Beta WindowBuilder
http://dl.google.com/eclipse/inst/d2gwt/latest/3.6 - Installing GWT Designer
Links
http://code.google.com/intl/de/eclipse/docs/install-eclipse-3.5.html
http://sourceforge.net/projects/shelled/