1 / 56

GumTree Development Environment Setup

GumTree Development Environment Setup. Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05). Prerequisite. J2SE Development Kit (JDK) 5.0 installed http://java.sun.com/j2se/1.5.0/download.jsp Network access to Sourceforge CVS Either in pserver protocol or extssh protocol

zahur
Download Presentation

GumTree Development Environment Setup

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)

  2. Prerequisite • J2SE Development Kit (JDK) 5.0 installed • http://java.sun.com/j2se/1.5.0/download.jsp • Network access to Sourceforge CVS • Either in pserver protocol or extssh protocol • GumTree committers only: • GumTree Project account on Sourceforge

  3. Download Files • Download Eclipse 3.2 M3 SDK for Windows • http://download.eclipse.org/eclipse/downloads/drops/S-3.2M3-200511021600/download.php?dropFile=eclipse-SDK-3.2M3-win32.zip • Download GEF 3.1 SDK with Examples • http://www.eclipse.org/downloads/download.php?file=/tools/gef/downloads/drops/R-3.1-200507071758/GEF-ALL-3.1.zip • Download GumTree External Plug-in Pack for Windows • http://gumtree.sourceforge.net/files/GumTreeExternalPluginPack(win32).zip

  4. Project Sets • Download GumTree Common Library Project Set • Committer (password required): http://gumtree.sourceforge.net/files/GumTree-Lib(extssh).psf • General (no password): http://gumtree.sourceforge.net/files/GumTree-Lib(pserver).psf • Download GumTree Platform Project Set • Committer (password required): http://gumtree.sourceforge.net/files/GumTree-Platform(extssh).psf • General (no password): http://gumtree.sourceforge.net/files/GumTree-Platform (pserver).psf

  5. General Instructions • General Instructions can be found here: • http://gumtree.sourceforge.net/wiki/index.php/GumTree_Development_Setup

  6. Checklist • JDK5 installed • Eclipse SDK 3.2 M3, GEF SDK 3.1, and GumTree External Plug-in pack has been downloaded • Team project set for GumTree Common Library and GumTree Platform has been downloaded • Sourceforge user login and password ready (committer only)  Let’s Rock ‘n’ Roll!

  7. Assume we use c:\gumdev as our development folder. Let’s extractEclipse SDK to c:\gumdev

  8. Also extractGEF SDK to c:\gumdev

  9. Finally extractGumTree External Plug-in Pack to c:\gumdev

  10. After extraction, open directory c:\gumdev\eclipse, and launch eclipse.exe

  11. Eclipse requires users to specify a workspace. For GumTree development, type c:\gumdev\gumtree\plugins as our workspace. Click OK to continue.

  12. Intro screen in Eclipse is opened by default. Click the icon at the upper right corner to continue.

  13. This is the Java perspective in the Eclipse workbench.

  14. GumTree leverages the latest J2SE5.0 features. Eclipse needs to be configured to support those. Select Window -> Preferences... to open the setting dialog.

  15. Select Java -> Complier On the right hand side, change Complier compliance level to 5.0

  16. Select Java -> Installed JREs Some build operations in GumTree use utilities from the JDK package. We should change the default Eclipse JRE from normal JRE to JDK

  17. Click Add to introduce a new Java Virtual Machine location.

  18. Type jdk1.5 as in the name box Then click Browse… for selecting JDK location

  19. By default, JDK5 should be installed to C:\Program Files\Java\jdk1.5.0_xx for the Windows platform. Select that fold and click OK

  20. Select jdk1.5 as the default JRE, and click OK to close dialog

  21. Eclipse will warn you about changes to the complier. Click Yes to continue.

  22. Now we need to import some projects to start our development. Select “Import…” from the File menu.

  23. Select “Team Project Set” from the dialog and click Next.

  24. Click “Browse” to import a team project set file

  25. We should first import Browse and select GumTree-Lib(extssh).psf

  26. After importing the GumTree Lib team project set, click Finish to continue. DO NOT click on “Create a working set…”

  27. If you are using the extssh team project set, you will require souceforge user login and password. Click save password for your convenience.

  28. If you are using the pserver team project set, you will not be asked for password. Please wait until the project is loaded to your workspace

  29. Project “lib” (plus several others) should be loaded in your workspace. Eclipse provides a way to group multiple projects under a single folder (working set). Let’s us select lib project first.

  30. Click on the inverted triangle on the right upper corner of the Package Explorer. Select Show -> Working Sets

  31. A Select Working Sets dialog appears, and let’s click New to add a new working set.

  32. Type GumTree-Lib for our GumTree Common Library working set. The lib project should be checked as well. Click Finish to continue

  33. To arrange our new working set in a proper order, select GumTree-Lib and click Up to swap display order.

  34. GumTree-Lib should now be our first project. Click OK to continue

  35. lib is now properly grouped under GumTree-Lib

  36. By default, Eclipse will copy the lib directory to other directory by an ANT builder. In some occasions, Eclipse may not do this automatically. To check if Eclipse does the job, select lib project, right click and select Properties.

  37. Click on Builders, and make sure CodeLib is selected.

  38. Also, if the ANT script is running correctly, lib project should be copied to C:\gumdev\gumtree

  39. Continue to import GumTree Platform Team Project Set to our workspace

  40. This time we import GumTree-Platform(extssf).psf (or GumTree-Platform(pserver).psf for non committers)

  41. GumTree Platform is BIG in size. Please allow Eclipse some time to fetch all projects to your workspace. It’s now for us to take a coffee……

  42. Eclipse will start to build GumTree once all projects has been checked out. You will see lots of compilation errors at the beginning. DO NOT PANIC.

  43. Select Project -> Clean…

  44. Click “Clean all Project” and OK

  45. All projects should be compiled. If problem raises, please contact us by email: gumtree-developer@lists.sourceforge.net

  46. Let’s create a new working set for the GumTree Platform projects. Firstly, select everything under “Other Projects”, and then open the menu in Package Explorer and select “Select Working Sets…”.

  47. Add new working set, and name it as GumTree-Platform

  48. Move GumTree-Platform to top level

  49. Like lib project, projects in the GumTree Platform run several ANT scripts to copy folders outside of our workspace. • By default, Eclipse copies: • org.eclipse.rcp_3.1.0 • org.gumtree.gumzilla_1.0.0 • org.gumtree.platform_1.0.0 • to C:\gumdev\gumtree\features

More Related