You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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.

  1. Download the Eclipse IDE for Java EE Developers for Linux from eclipse.org/downloads/packages.
  2. Unpack it in /usr/local/eclipse
  3. After unpacking it within /usr/local, chown -R yourlogin.yourgroup eclipse
  4. Create a symbolic link from /usr/local/bin/eclipse to /usr/local/eclipse/eclipse
  5. 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.
    1. Go to Help -> Software Updates -> Available Software -> Manage Sites, then enter the following URL:
      http://update.atlassian.com/atlassian-eclipse-plugin
    2. Install Atlassian Eclipse Plugin Feature
    3. Restart Eclipse when prompted.
  • Mylyn JIRA Connector
    Mylyn is already installed in the Ganymede distribution, but the JIRA Connector must be added manually.
    1. Go to Help -> Software Updates -> Available Software -> Manage Sites
    2. Click the box next to http://download.eclipse.org/tools/mylyn/update/extras and click OK.
    3. Open the site under Available Software and install Mylyn Connector: JIRA
    4. Restart Eclipse when prompted.
  • Subversive
    This is a "Team Provider" for Subversion.
    1. Install via Help -> Software Updates -> Available Software -> Ganymede -> Collaboration Tools
    2. Restart Eclipse when prompted.
  • SVNKit
    This a cross-platform Subversion "Connector" (client library) for use with Subversive.
    1. 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/
    2. Install SVNKit 1.2.0 Implementation
    3. Restart Eclipse when prompted.
    4. Go to Window -> Preferences -> Team -> SVN -> SVN Connector and choose SVNKit from the dropdown.
  • Mercurial Eclipse
    This is a "Team Provider" for Mercurial.
    1. Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
      http://www.vectrace.com/eclipse-update/
    2. Install com.vectrace.MercurialEclipse
    3. Restart Eclipse when prompted.
  • Maven Integration for Eclipse
    This provides key Maven functionality from within Eclipse.
    1. Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
      http://m2eclipse.sonatype.org/update/
    2. Install
      • Maven Integration for Eclipse
      • Maven issue tracking for Mylyn
      • Maven SCM Integration
    3. Restart Eclipse when prompted.
  • Checkstyle
    This plug-in helps to ensure your code adheres to coding standards.
    1. Go to Help -> Software Updates -> Available Software -> Add Site, then enter the following URL:
      http://eclipse-cs.sourceforge.net/update
    2. Install Eclipse Checkstyle Plug-in
    3. Restart Eclipse when prompted.
  • viPlugin for Eclipse
    This doesn't install via the Software Update mechanism in Eclipse.  Instead, it requires manual installation:
    1. Unpack the viPlugin distribution in your eclipse directory.
    2. Put your viPlugin.license file in your eclipse directory.
    3. Restart Eclipse and make sure the new "vi" button in the toolbar is selected.
    4. 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.

  1. Window -> Open Perspective -> Java
  2. Window -> Customize Perspective
  3. Under Shortcuts Tab, Submenu "New", also select the following:
    1. Java -> JUnit -> JUnit Test Suite
    2. Mercurial -> Clone Repository Using Mercurial
    3. SVN
  4. Under Shortcuts Tab, Submenu "Show View", also select the following:
    1. Atlassian Plugin
    2. Checkstyle
    3. Java -> Call Hierarchy
    4. Java -> JUnit
    5. Mylyn -> Task Repositories
    6. Other -> Merge
    7. SVN
    8. Team
  5. Under Command Tab, also select the following command groups:
    1. SVN
    2. Team
  6. Close the Outline and Task List Views on the East panel.
  7.  
  • openssh-server
  • msttcorefonts
  • openoffice.org
  • mercurial
  • hgsvn
  • truecrypt
  • vim-full
    ...then modify /etc/vim/vimrc to your taste.
  • No labels