Skip to content

Setup GumTree Development Environment_71661

nxi edited this page Apr 9, 2015 · 1 revision
Created by Tony Lam, last modified on Jul 24, 2007
There two types of development environment setup for GumTree developers:
  • Quick setup - Developers who wish to extend GumTree but do not want to want to commit code back to the GumTree source repository should use this simple setup.
  • Committer setup - Developers who wish to retrieve and commit code the latest code from the GumTree source repository should follow this more sophisticated instruction.

Quick Setup

Tools Requirement

Prior to setting up the GumTree development environment, you should have the following ready on your machine:
  • Java SE JRE or JDK version 5 or above (download)
  • Eclipse SDK version 3.2.2 or above (download)
  • The latest GumTree build (download)

Setup Steps

  1. Tools Installation
    • Install Java JRE / JDK (administration right is required on Windows platform)
    • Extract Eclipse SDK to your preferred IDE directory
    • Extract GumTree to your preferred GumTree workbench directory
  2. Launch the Eclipse IDE
  3. Configure workspace to be compiled under Java 5.0
    • Go to the IDE menu Window->Preferences->Java->Compiler and select "Compiler compliance level" to 5.0
  4. Configure RCP development target to the GumTree plug-in set
    • Go to the IDE menu Window->Preferences->Plug-in Development->Target Platform and select the location of the installed GumTree workbench (gumtree top level folder)
    • Click Reload to refresh the RCP development target

Source Browsing and Modification

Source code in the GumTree platform can be viewed and modified during development.  In order to load the source, open the Plug-ins view from Eclipse (Window->Show View->Other...'>PDE>Plug-ins) and right click on the desired plug-in to import as source project.

Launching GumTree Workbench from IDE

The simplest way to launch GumTree from IDE is through the
gumtree.product file from the org.gumtree.platform plug-in.
  1. Import the
org.gumtree.platform plug-in as source project from the Plug-ins view in IDE
  • Open the
  • gumtree.product file from the imported plug-in
  • Under the section
  • Testing, press the links Synchronize and Launch the product in sequence to launch the GumTree workbench.

    Committer Setup

    GumTree committers or developers who like to work on the latest source code can use this setup to configure their development environment. 

    Tools Requirement

    Prior to setting up the GumTree development environment, you should have the following ready on your machine:
    • Java SE JRE or JDK version 5 or above (download)
    • Eclipse SDK version 3.2.2 or above (download)
    • Subversion plug-in
    • EMF version 2.2.2
    The details of the source repository address are described in here: http://xircles.codehaus.org/projects/gumtree/repo

    Setup Steps

    Document generated by Confluence on Apr 01, 2015 00:11
    Clone this wiki locally