Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

This page describes setting up a complete Fedora development environment with Ubuntu 8.10 and Eclipse Ganymede. It's geared toward my own preferences, but may be useful for other people.

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 (if you use this image, you should create a new administrative user for yourself, login as that user and reset the keyboard layout).

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

In addition to the plugins that come pre-installed with Ganymede JEE SR1, here are some others that may come in handy while doing Fedora development.

  • 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.

Next Steps

Follow the instructions on this page: Building Fedora from Source Video

Other Stuff I Like To Install

  • openssh-server
  • msttcorefonts
  • openoffice.org
  • mercurial
  • hgsvn
  • truecrypt
  • vim-full
    ...then modify /etc/vim/vimrc to your taste.