Skip to main content

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.

Jump to: navigation, search

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

m
 
(3 intermediate revisions by the same user not shown)
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.
+
Please use the "Import Existing Projects" wizard to import all Gyrex projects from any cloned Git repository. We also provide a collection of Working Sets for your convenience. Working Sets can be imported using the AnyEdit Tools plug-in available via Eclipse Marketplace. You can find the Working Sets file in the RelEng project (<code>org.eclipse.gyrex.releng/devsupport/eclipse</code>).
  
* Download the Gyrex team project set file
+
== Setup Target Platform ==
** for committers (authenticated ssh checkout): [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gyrex/releng/org.eclipse.gyrex.releng/projectsets/gyrex-all-extssh.psf?view=co&root=Technology_Project gyrex-all-extssh.psf]
+
** for contributors (anonymous pserver checkout): [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gyrex/releng/org.eclipse.gyrex.releng/projectsets/gyrex-all-anonymous.psf?view=co&root=Technology_Project gyrex-all-anonymous.psf]
+
* In Eclipse go to File -&gt; Import... -&gt; Team -&gt; Team Project Set -&gt; 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 <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)
 
 
 
''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]
+
* Locate <code>org.eclipse.gyrex.releng/target</code>
*File -&gt; Import... -&gt; Team -&gt; Team Project Set -&gt; Next
+
* Open file <code>gyrex-dev.target</code> in Target Definition editor
*Point to downloaded project set file -> Finish
+
* Wait till the target platform is resolved
* Confirm creation of repositories and any merge request with existing working sets
+
* Click on link "Set as Target Platform" (located in the upper right corner of the Target Definition editor)
  
 +
== Import Code Settings ==
  
'' 6. Optimize project browsing. ''
+
== Optimize Project Browsing ==
  
 
* Switch to the Java perspective
 
* Switch to the Java perspective

Latest revision as of 08:40, 10 January 2012

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

Please use the "Import Existing Projects" wizard to import all Gyrex projects from any cloned Git repository. We also provide a collection of Working Sets for your convenience. Working Sets can be imported using the AnyEdit Tools plug-in available via Eclipse Marketplace. You can find the Working Sets file in the RelEng project (org.eclipse.gyrex.releng/devsupport/eclipse).

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

Back to the top