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.
Difference between revisions of "Gyrex/Preparing Your Workspace For Developing Gyrex"
< Gyrex
m (→Set Target Platform) |
|||
Line 27: | Line 27: | ||
− | == | + | == Setup Target Platform == |
We maintain a shared target platform. It's located in the "org.eclipse.gyrex.releng" project in the <code>target</code> folder. | We maintain a shared target platform. It's located in the "org.eclipse.gyrex.releng" project in the <code>target</code> folder. | ||
Line 34: | Line 34: | ||
* Wait till the target platform is resolved | * Wait till the target platform is resolved | ||
* Click on link "Set as Target Platform" (located in the upper right corner of the Target Definition editor) | * Click on link "Set as Target Platform" (located in the upper right corner of the Target Definition editor) | ||
− | |||
== Import Code Settings == | == Import Code Settings == |
Revision as of 06:48, 10 January 2012
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
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 confirm creation of repositories and any merge request with existing working sets
Setup Target Platform
We maintain a shared target platform. It's located in the "org.eclipse.gyrex.releng" project in the target
folder.
- Locate
org.eclipse.gyrex.releng/target
- Open file
gyrex-dev.target
in Target Definition editor - Wait till the target platform is resolved
- Click on link "Set as Target Platform" (located in the upper right corner of the Target Definition editor)
Import Code Settings
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")