Configuration

François Garillot edited this page Jan 14, 2013 · 9 revisions

This page contain information about the configuration of the ecosystem build.

The configurations are managed using the Typesafe config format.

Ecosystem configurations

The main configuration for the ecosystem build is stored in ecosystem.conf file. It contains the list of ecosystem to generate, and the location of the current data.

ecosystems-descriptor {
  ids = ["dev-scala29-e37", "dev-scala210-e37", "dev-scala29-e38", "dev-scala210-e38"]
  dev-scala29-e37 {
    site = "http://download.scala-ide.org/ecosystem/e37/scala29/dev/site/"
    base = "http://download.scala-ide.org/ecosystem/e37/scala29/dev/base/"
    nextSite = "http://download.scala-ide.org/ecosystem/next/e37/scala29/dev/site/"
    nextBase = "http://download.scala-ide.org/ecosystem/next/e37/scala29/dev/base/"
  }
  dev-scala210-e37 {
    site = "http://download.scala-ide.org/ecosystem/e37/scala210/dev/site/"
    base = "http://download.scala-ide.org/ecosystem/e37/scala210/dev/base/"
    nextSite = "http://download.scala-ide.org/ecosystem/next/e37/scala210/dev/site/"
    nextBase = "http://download.scala-ide.org/ecosystem/next/e37/scala210/dev/base/"
  }
  dev-scala29-e38 {
    site = "http://download.scala-ide.org/ecosystem/e38/scala29/dev/site/"
    base = "http://download.scala-ide.org/ecosystem/e38/scala29/dev/base/"
    nextSite = "http://download.scala-ide.org/ecosystem/next/e38/scala29/dev/site/"
    nextBase = "http://download.scala-ide.org/ecosystem/next/e38/scala29/dev/base/"
  }
  dev-scala210-e38 {
    site = "http://download.scala-ide.org/ecosystem/e38/scala210/dev/site/"
    base = "http://download.scala-ide.org/ecosystem/e38/scala210/dev/base/"
    nextSite = "http://download.scala-ide.org/ecosystem/next/e38/scala210/dev/site/"
    nextBase = "http://download.scala-ide.org/ecosystem/next/e38/scala210/dev/base/"
  }
}
  • ecosystems-descriptor/ ids: the list of defined ecosystems.
  • ecosystems-descripton/id/ site: the update site containing the result of the ecosystem build.
  • ecosystems-descripton/id/ base: the update site containing the Scala IDE versions supported in this ecosystem.

Add-ons configuration

For each add-on, the configuration is stored in a file in the features folder. The name of the file is the id of the Eclipse feature containing the add-on. The structure is the following:

features
   /org.scalaide.worksheet.feature
   /add.on.1.id
   /add.on.2.id

Each file contains a description of the add-on to include in the ecosystem, and information about where the versions are available:

plugin-descriptor {
    source-repository = "https://github.com/scala-ide/scala-worksheet"
    documentation = "https://github.com/scala-ide/scala-worksheet/wiki/Getting-Started"
    issue-tracker = "https://github.com/scala-ide/scala-worksheet/issues/"
    update-sites= ["http://download.scala-ide.org/plugins/worksheet/releases/ide-2.1.0-m2/2.9.x/stable/site/", "http://download.scala-ide.org/plugins/worksheet/releases/ide-2.1.0-m2/2.10.0-m7/stable/site/"]
    category = incubation
    website = "https://github.com/scala-ide/scala-worksheet"
    source-feature-id = org.scalaide.worksheet.source.feature
}
  • plugin-descriptor/ source-repository: the location of the source code.
  • plugin-descriptor/ documentation: the location of the documentation.
  • plugin-descriptor/ issue-tracker: the location of the issue tracker.
  • plugin-descriptor/ update-sites: list of update sites where compatible versions of the add-on can be found.
  • plugin-descriptor/ category: [stable|incubation](optional, default: incubation) category under which the add-on will be listed.
  • plugin-descriptor/ website: (optional) the project website location.
  • plugin-descriptor/ source-feature-id: (optional) the id of the associated source feature.