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"

(New page: Here's how to set up your workspace for developing Gyrex. 1. Download and install any Eclipse distribution suitable for developing Eclipse plug-ins. We recommend trying the latest Eclips...)
 
m
 
(5 intermediate revisions by the same user not shown)
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.  
  
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.  
+
== 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:
+
=== Required Plug-ins ===
 +
* Eclipse Plug-in Development Environment
 +
* Eclipse CVS Client
 +
* Eclipse Git Client
  
*Eclipse Plug-in Development Environment
+
=== Required JDK ===
*Eclipse CVS Client
+
* Download and install your preferred Java 6 JDK
*Eclipse Subversion Client
+
* Window -> Preferences -> Java -> Installed JREs -> Add... -> Standard VM -> Next
*Eclipse Git Client
+
* Set JRE home to the Java 6 JDK folder -> Finish
 +
* Activate check-box to set Java 6 JDK as the default JDK in Eclipse
  
2. Checkout our pre-build target platform.
 
  
*File -> Import... -> SVN -> Checkout Projects from SVN -> Next
+
== Import Projects ==
*Create a new repository location -> Next
+
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>).
*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.  
+
== 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.
  
*Expand project "target-platforms"
+
* Locate <code>org.eclipse.gyrex.releng/target</code>
*Open file "eclipse-serverside.target" in Target Definition editor (simple double click should do the trick)
+
* Open file <code>gyrex-dev.target</code> in Target Definition editor
*Click on link "Set as Target Platform" (located in the upper right corner of the 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)
  
4. Download, install and configure Java 6 JDK.
+
== Import Code Settings ==
  
*Download and install your preferred Java 6 JDK
+
== Optimize Project Browsing ==
*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
+
  
5. Download and import the Team Project Sets.
+
* 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"
*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]
+
* Select all working sets ("Select All")
*File -&gt; Import... -&gt; Team -&gt; Team Project Set -&gt; Next
+
* We recommend sorting the working sets (check "Sort working sets")
*Point to downloaded project set file -> Finish
+
* We also recommend hierarchical package browsing (open the Package Explorer view menu and this time select "Package Presentation -> Hierarchical")
* Confirm creation of repositories
+

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