Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Gyrex/Preparing Your Workspace For Developing Gyrex
Here's how to set up your workspace for developing Gyrex.
Contents
Setup Eclipse
Download and install any Eclipse distribution suitable for developing Eclipse plug-ins. We recommend trying the latest Eclipse milestone for access to the latest features in JDT and PDE.
Required Plug-ins
- Eclipse Plug-in Development Environment
- Eclipse CVS Client
- Eclipse Git Client
Required JDK
- Download and install your preferred Java 6 JDK
- Window -> Preferences -> Java -> Installed JREs -> Add... -> Standard VM -> Next
- Set JRE home to the Java 6 JDK folder -> Finish
- Activate check-box to set Java 6 JDK as the default JDK in Eclipse
Import Projects from CVS
We provide Team Project Sets that you can use to import our projects into any Eclipse workspace.
- Download the Gyrex team project set file
- for committers (authenticated ssh checkout): gyrex-all-extssh.psf
- for contributors (anonymous pserver checkout): gyrex-all-anonymous.psf
- In Eclipse go to File -> Import... -> Team -> Team Project Set -> Next
- Click Browse... and select the downloaded file
- Click Finish and wait till everything is imported
Set Target Platform
We maintain a shared target platform. It's located in the "org.eclipse.gyrex.releng" project in the target
folder.
- Expand project "target-platforms"
- Open file "eclipse-serverside.target" in Target Definition editor (simple double click should do the trick)
- Click on link "Set as Target Platform" (located in the upper right corner of the Target Definition editor)
5. Download and import the Team Project Sets.
- Download Team Project Set from here
- File -> Import... -> Team -> Team Project Set -> Next
- Point to downloaded project set file -> Finish
- Confirm creation of repositories and any merge request with existing working sets
6. Optimize project browsing.
- Switch to the Java perspective
- Open the Package Explorer view menu (little triangle icon in the upper right corner) and select "Top Level Elements -> Working Sets"
- Select all working sets ("Select All")
- We recommend sorting the working sets (check "Sort working sets")
- We also recommend hierarchical package browsing (open the Package Explorer view menu and this time select "Package Presentation -> Hierarchical")