Sandbox

From GumTree

Contents

Setting up GumTree Development Environment (Windows)


Install and Configure Eclipse

  1. Download Eclipse 3.1 SDK
  2. Install and Lanuch Eclipse
    • Install Eclipse to c:\eclipse31\eclipse, where c:\eclipse31 is a directory at your choice (as long as it contains no space character).
    • Launch Eclipse and set your workspace to c:\eclipse31\gumtree\plugins
  3. Configure Eclipse
    • Create a new JRE definition (Window->Preferences->Java->Installed JREs), and select your JDK directory for the new definition. By default Eclipse uses the default JRE for all ANT taks. For Javadoc generation, you need javadoc.exe from JDK to complete the task.
    • Set JDK Compliance to 5.0 (Window->Preferences->Java->Compiler)
    • Set HTTP proxy connection if you intend to Eclipse update manager (Window->Preferences->Install/Update)


Import Team Project Sets

  1. Import GumTree-Lib
    • Switch to Java Perspective. From the Package Explorer, import http://gumtree/GumTree/projects/GumTree-Lib(extssh).psf as a Team Project Set. Do not create working set as this stage. You need your sourceforge or boson CVS login and password be ready with you.
    • Open "Select Working Sets" dialog from the Package Explorer, and create a new Java working set GumTree-Lib. Include any plugin that you have imported from the previous Team Project Set file in your new working set
    • Ensure copy_lib.xml is automatically launched and copy lib folder to c:\eclipse31\gumtree\lib. If not, change the setting in your lib project.
  2. Import GumTree-Platform [Media:GumTree-Platform(pserver).psf]
    • Put those newly imported plugins to a new working set
  3. GumTree-Platform
    • Make sure copy-feature.xml and copy_required_plugins.xml under org.eclipse.rcp-feature work in automatic build. If they work, you will see a folder calls org.eclipse.rcp under c:\eclipse31\gumtree\features, and a set of Eclipse plugins under c:\eclipse\gumtree\plugins
    • Also check the following ANT script are activated during autobuild
      • copy-feature.xml from org.gumtree.gumzilla-feature
      • copy-feature.xml from org.gumtree.platform-feature
  4. GumTree-GumNIX

Run GumTree within Eclipse Workbench

  1. Run Gumzilla Instrument
    • Launch a new Eclipse Application with a predefined configuration GumTree_for_windows
  2. Run HIPD Instrument
    • Launch a new Eclipse Application with a predefined configuration GumTree_for_windows, but change program argument to -instrument au.gov.ansto.bragg.gumnix.hipd

Image:Http://gumtree.sourceforge.net/screenshots/workbench01.jpg