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 1: Line 1:
 
Here's how to set up your workspace for developing Gyrex.  
 
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.
  
''1. 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 plug-ins:
+
=== 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
  
*Eclipse Plug-in Development Environment
 
*Eclipse CVS Client
 
*Eclipse Subversion Client
 
*Eclipse Git Client
 
  
 +
== Import Projects from CVS ==
 +
We provide Team Project Sets that you can use to import our projects into any Eclipse workspace.
  
''2. Checkout our pre-build target platform.''
+
* Download the Gyrex team project set file
 +
** 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 -> Import... -> Team -> Team Project Set -> Next
 +
* Click Browse... and select the downloaded file
 +
* Click Finish and wait till everything is imported
  
*File -> Import... -> SVN -> Checkout Projects from SVN -> Next
 
*Create a new repository location -> Next
 
*Url: <code>https://wagenknecht.org/svn/public/opensource/eclipse/target-platforms</code> -&gt; Next
 
*Select the top level folder (i.e. the URL) -&gt; Finish
 
 
 
''3. Activate the 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.
 
*Expand project "target-platforms"  
 
*Expand project "target-platforms"  
 
*Open file "eclipse-serverside.target" in Target Definition editor (simple double click should do the trick)  
 
*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)
 
*Click on link "Set as Target Platform" (located in the upper right corner of the Target Definition editor)
 
 
''4. Download, install and configure Java 6 JDK.''
 
 
*Download and install your preferred Java 6 JDK
 
*Window -&gt; Preferences -&gt; Java -&gt; Installed JREs -&gt; Add... -&gt; Standard VM -&gt; Next
 
*Set JRE home to the Java 6 JDK folder -&gt; Finish
 
*Activate check-box to set Java 6 JDK as the default JDK in Eclipse
 
  
  

Revision as of 05:33, 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 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
  • 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")

Back to the top