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 "Orion/Getting the source"

(Self hosting setup)
(Self hosting setup)
Line 17: Line 17:
 
     git clone ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
 
     git clone ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
 
     git clone ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.server.git
 
     git clone ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.server.git
* [http://download.eclipse.org/e4/orion/ Download] a stable orion build
+
* [http://download.eclipse.org/e4/orion/ Download] a stable orion build.  This download will be used as a target platform when you run the server from eclipse.
 
* You can use any recent stable build of the Eclipse SDK to run the server.  Many of us are using M4.
 
* You can use any recent stable build of the Eclipse SDK to run the server.  Many of us are using M4.
 
* Create a new workspace using your Eclipse SDK
 
* Create a new workspace using your Eclipse SDK

Revision as of 18:36, 13 January 2011

This page covers how to take a look at the source, as well as how to set up for self-hosting (changing Orion code from Orion).

Accessing the code

Source for Orion can be forked from our Git repositories:

Self hosting setup

We assume you are familiar with git. If not, review the Eclipsepedia Git Page.

Self-hosting involves running an Orion server on localhost, pointing your Orion editor at your local git repo directories, and working within Orion to make changes. Changes are committed with command line tools (or egit). Currently, the commit phase is separate from the Orion workflow. Here are the steps needed to get up and running, which assume you are a committer on the e4 project.

  • Ensure that your user name and email are set up properly so that your email matches the foundation's email address of record. Otherwise you can't push changes. See Git#Committers_new_to_Git
  • Clone the orion client and server repositories (choose a target directory that works for you, you'll be importing this code later into eclipse in order to run your changes on the local server).


   git clone ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
   git clone ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.server.git
  • Download a stable orion build. This download will be used as a target platform when you run the server from eclipse.
  • You can use any recent stable build of the Eclipse SDK to run the server. Many of us are using M4.
  • Create a new workspace using your Eclipse SDK
  • Use the File->Import->General->Existing Projects into Workspace wizard. In the wizard, set the root directory for the import to whatever directory you used when you cloned the repos. You'll know you have the right path when you see a bunch of org.eclipse.orion.* projects in the project list.
  • Ensure that Copy projects into workspace is not checked.
  • The projects should appear in your workspace. Don't worry about the compile errors just yet...
  • Now you need to set up a target

Back to the top