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
Line 16: | Line 16: | ||
− | == Import Projects | + | == Import Projects == |
We provide Team Project Sets that you can use to import our projects into any Eclipse workspace. | We provide Team Project Sets that you can use to import our projects into any Eclipse workspace. | ||
Line 24: | Line 24: | ||
* In Eclipse go to File -> Import... -> Team -> Team Project Set -> Next | * In Eclipse go to File -> Import... -> Team -> Team Project Set -> Next | ||
* Click Browse... and select the downloaded file | * Click Browse... and select the downloaded file | ||
− | * Click Finish and | + | * Click Finish and confirm creation of repositories and any merge request with existing working sets |
== Set Target Platform == | == Set 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. | ||
− | |||
− | |||
− | |||
+ | * Locate <code>org.eclipse.gyrex.releng/target</code> | ||
+ | * Open file <code>gyrex-dev.target</code> 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 | * Switch to the Java perspective |
Revision as of 05:36, 23 November 2010
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
Set 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")