typesafehub/sbteclipse — pull request #110 by JamesEarlDouglas (2012-05-22 16:27:21+00:00)
Title: allow specification of Eclipse project nature

This allows sbteclipse to produce Java-only Eclipse projects, which can be useful in various situations:

* When a project is composed of only Java code
* When a developer does not have the Eclipse Scala plugin
* When a developer simply wants Eclipse to ignore non-Java code

This also sets up sbteclipse to support other Eclipse project natures in the future (e.g. Groovy, JRuby, etc.)

By default, sbteclipse creates Scala/Java projects as usual. With an additional setting, the developer can mix and match project natures:

`EclipseKeys.projectNature := EclipseProjectNature.Default`

`EclipseKeys.projectNature := EclipseProjectNature.Default + EclipseProjectNature.Scala`