Wiki

Clone wiki

OscaR / developers-eclipse-setup

This page explains how to set up the OscaR project for developers using Eclipse. You will be able to modify the sources and build the project.

  1. Download and install the latest version of Scala IDE: http://scala-ide.org/download/sdk.html
  2. Clone the oscar repository and checkout the dev branch: hg clone https://bitbucket.org/oscarlib/oscar
  3. Move into the clone's directory and checkout the dev branch: hg checkout dev
  4. Assuming sbt is correctly installed on your system, run sbt eclipse to generate the Eclipse project files.
  5. In Eclipse, go to "File -> Import" then "General -> Existing Projects into Workspace".
  6. Select "Select root directory" and click "Browse".
  7. In the browser, select the directory that the hg clone created.
  8. The subprojects oscar-algebra, …, oscar-visual should appear in the "Projects" list.
  9. Click "Finish".

By then, the workspace is set up and should start building.

Updated