Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Gyrex/Preparing Your Workspace For Developing Gyrex"

Line 16: Line 16:
  
  
== Import Projects from CVS ==
+
== 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 wait till everything is imported
+
* 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.
*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)
 
  
 +
* 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)
  
''5. Download and import the Team Project Sets.''
 
  
*Download Team Project Set from [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gyrex/releng/org.eclipse.gyrex.releng/projectsets/gyrex-anonymous-with-dependencies.psf?root=Technology_Project&view=co here]
+
== Import Code Settings ==
*File -&gt; Import... -&gt; Team -&gt; Team Project Set -&gt; Next
+
*Point to downloaded project set file -> Finish
+
* Confirm creation of repositories and any merge request with existing working sets
+
  
 
+
== Optimize Project Browsing ==
'' 6. 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.

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
  • 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")

Back to the top