1. Install Ubuntu 8.10
The 32-bit Desktop Edition provided by Canonical is a good choice if you're running Ubuntu natively. Since I'm running it via VMware, I found it convenient to start with the Full Gnome Desktop Image provided by Visoracle.
2. Install Commandline Build/SCM Tools
Use apt-get (or Synaptic, etc) to install the following:
- sun-java5-jdk
- sun-java6-jdk
- ant
- maven2
- subversion
- mercurial
3. Install Eclipse Ganymede JEE SR1
The package repositories don't know about this version of Eclipse, so it requires manual installation. On a single-user system, a reasonable way to do this follows.
- Download the Eclipse IDE for Java EE Developers for Linux from eclipse.org/downloads/packages.
- Unpack it in /usr/local/eclipse
- After unpacking it within /usr/local, chown -R yourlogin.yourgroup eclipse
- Create a symbolic link from /usr/local/bin/eclipse to /usr/local/eclipse/eclipse
- Add it to the Applications -> Programming sub-menu via System -> Preferences -> Main Menu
4. Install Eclipse Plugins
- Atlassian Eclipse Connector
This plugin provides Bamboo build information from within Eclipse.- Go to Help -> Software Updates -> Available Software -> Manage Sites, then enter the following URL:
http://update.atlassian.com/atlassian-eclipse-plugin - Install Atlassian Eclipse Plugin Feature
- Restart Eclipse when prompted.
- Go to Help -> Software Updates -> Available Software -> Manage Sites, then enter the following URL:
- Mylyn JIRA Connector
Mylyn is already installed in the Ganymede distribution, but the JIRA Connector must be added manually.- Go to Help -> Software Updates -> Available Software -> Manage Sites
- Click the box next to http://download.eclipse.org/tools/mylyn/update/extras and click OK.
- Open the site under Available Software and install Mylyn Connector: JIRA
- Restart Eclipse when prompted.
- Subversive
This is a "Team Provider" for Subversion.- Install via Help -> Software Updates -> Available Software -> Ganymede -> Collaboration Tools
- Restart Eclipse when prompted.
- SVNKit
This a cross-platform Subversion "Connector" (client library) for use with Subversive.- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/ - Install SVNKit 1.2.0 Implementation
- Restart Eclipse when prompted.
- Go to Window -> Preferences -> Team -> SVN -> SVN Connector and choose SVNKit from the dropdown.
- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
- Mercurial Eclipse
This is a "Team Provider" for Mercurial.- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
http://www.vectrace.com/eclipse-update/ - Install com.vectrace.MercurialEclipse
- Restart Eclipse when prompted.
- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
- Maven Integration for Eclipse
This provides key Maven functionality from within Eclipse.- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
http://m2eclipse.sonatype.org/update/ - Install
- Maven Integration for Eclipse
- Maven issue tracking for Mylyn
- Maven SCM Integration
- Restart Eclipse when prompted.
- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
- Checkstyle
This plug-in helps to ensure your code adheres to coding standards.- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
http://eclipse-cs.sourceforge.net/update - Install Eclipse Checkstyle Plug-in
- Restart Eclipse when prompted.
- Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
- viPlugin for Eclipse
This doesn't install via the Software Update mechanism in Eclipse. Instead, it requires manual installation:- Unpack the viPlugin distribution in your eclipse directory.
- Put your viPlugin.license file in your eclipse directory.
- Restart Eclipse and make sure the new "vi" button in the toolbar is selected.
- Go to Window -> Preferences -> General -> Keys, and select ViPlugin as the scheme.
5. Configure Common Workspace
Create a "template" workspace with settings that are common to any new project.
- Window -> Open Perspective -> Java
- Window -> Customize Perspective
- Under Shortcuts Tab, Submenu "New", also select the following:
- Java -> JUnit -> JUnit Test Suite
- Mercurial -> Clone Repository Using Mercurial
- SVN
- Under Shortcuts Tab, Submenu "Show View", also select the following:
- Atlassian Plugin
- Checkstyle
- Java -> Call Hierarchy
- Java -> JUnit
- Mylyn -> Task Repositories
- Other -> Merge
- SVN
- Team
- Under Command Tab, also select the following command groups:
- SVN
- Team
- Close the Outline and Task List Views on the East panel.
- openssh-server
- msttcorefonts
- openoffice.org
- mercurial
- hgsvn
- truecrypt
- vim-full
...then modify /etc/vim/vimrc to your taste.