Skip to content

Build the Worksheet

dotta edited this page Dec 19, 2012 · 5 revisions

How to build

The build is based on Maven and Tycho. There are several profiles to account for the different version of our dependencies:

  • Scala IDE (milestone or nightly)
  • Scala (2.9, 2.10 or 2.11)
  • Eclipse (indigo or juno)

You should check the existing profiles directly in the [project's POM][https://github.com/scala-ide/scala-worksheet/blob/master/pom.xml#L54]. But let's have an example of how you can compose the different profiles.

Say you want to build the worksheet for the Scala IDE nightly bundled with Scala 2.9, for Eclipse indigo. Here is the Maven command you should enter:

mvn -P 2.9.x -P nightly-scala-ide-scala-2.9 -P indigo clean install

What if instead you wanted to build the worksheet against the latest available milestone, instead of against the nightly? That's easy as well:

mvn -P 2.9.x -P dev-scala-ide-indigo-scala-2.9 -P indigo clean install

That's it.

And if you have any trouble building the worksheet, just drop us a note in the scala-ide-dev ML

Clone this wiki locally