Skip to content

Development Environment Setup

calltl edited this page Mar 4, 2013 · 6 revisions

Summary

This chapter will discuss the development environment for Gumtree. The steps for development setup are:

  1. Install the latest Java Development Kit
  2. Install and configure the latest Eclipse IDE
  3. Connect to the Gumtree repository
  4. Install Gumtree library for development (known as the target platform)

Install Java Development Kit

Install Eclipse IDE

  • Download the latest Eclipse IDE (4.2.1 or above) from http://www.eclipse.org/downloads/
    • It is recommended to download the "Eclipse Classic" package
  • Extract the Eclipse IDE into your system
  • Modify eclipse.ini to add more heap memory
    • Change from -Xmx512m to -Xmx1024m
  • Install the following plug-ins from Eclipse
    • EGit (Git version control)

Connect to the Repository

Git Repository: https://github.com/Gumtree/gumtree.git.git

Web Access: https://github.com/Gumtree/gumtree

Setting up Target Platform

There are two types of Gumtree developers:

  • Gumtree Application Developers - people who use the Gumtree framework for creating their own applications
  • Gumtree Framework Developers - people who contribute and modify the core Gumtree framework

The target platform setup will be different depending on which type of developers you belongs to.

Gumtree Application Developers

Method 1:

Open org.gumtree.sdk.targets/targets/gumtree.target

Method 2: Manual Operation

http://dist.codehaus.org/gumtree/sites/platform/1.8.x/

Gumtree Framework Developers

As a Gumtree framework developer, you will need to have all Gumtree source code available in the workspace. The target platform for this setup is basically the Eclipse platform plus a some additional plug-ins from the Gumtree bundle library (http://dist.codehaus.org/gumtree/sites/bundle/1.8.x/)

Clone this wiki locally