Skip to content

Commit

Permalink
Bug 464321 How to build Orion using Maven in README.md needs an update
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Hunter committed Apr 9, 2015
1 parent da5675e commit 8672495
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions README.md
Expand Up @@ -22,24 +22,38 @@ This repository contains the Orion Java server, which is available under the [Ec
How to build Orion using Maven
------------------------------

Install Maven:
- install latest Maven 3.0 from http://maven.apache.org/download.cgi
- follow http://maven.apache.org/settings.html to configure Maven settings.xml
###Install Maven:

Clone Git repositories:
- clone `org.eclipse.orion.client` and `org.eclipse.orion.server` under the same local folder
- `cd /my/git/repos`
- `git clone http://git.eclipse.org/gitroot/orion/org.eclipse.orion.client.git`
- `git clone http://git.eclipse.org/gitroot/orion/org.eclipse.orion.server.git`

Run Maven build
- `cd org.eclipse.orion.server/`
- `mvn clean install`
install latest Maven 3.0 from http://maven.apache.org

###Clone Git repositories:

clone `org.eclipse.orion.client` and `org.eclipse.orion.server` under the same local folder

```
% cd /my/git/repos
% git clone http://git.eclipse.org/gitroot/orion/org.eclipse.orion.client.git
% git clone http://git.eclipse.org/gitroot/orion/org.eclipse.orion.server.git
```

###Run Maven build:
```
% cd org.eclipse.orion.server
% mvn clean install -P platform-kepler,local-build -Dorion.client.build.skip -DskipTests
```

###Run the Orion server
```
% cd releng/org.eclipse.orion.server.repository/target/products/org.eclipse.orion/linux/gtk/x86_64/eclipse/
% ./orion
```

Now point your browser to start the Orion client at http://localhost:8080

Eclipse Setup
-------------

Set target platform:
- in Eclipse open the target definition `org.eclipse.orion.server/releng/org.eclipse.orion.target/org.eclipse.orion.target`
- click "Set as Target Platform"

0 comments on commit 8672495

Please sign in to comment.