Plugin for sbt to create Eclipse project definitions. Please see below for installation details and the Documentation for information about configuring sbt-eclipse. Information about contribution policy and license can be found below.
-
Open your plugin definition file (or create one if doesn't exist). You can use either:
- the global file (for version 1.0 and up) at ~/.sbt/SBT_VERSION/plugins/plugins.sbt
- the project-specific file at PROJECT_DIR/project/plugins.sbt
-
Add sbt-eclipse to the plugin definition file:
- Version 6.x+ only supports SBT 1.4+. Use 5.2.4 or older for previous versions of SBT
addSbtPlugin("com.github.sbt" % "sbt-eclipse" % "6.0.0-RC1")
// For older releases (< version 6.0.0)
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
-
In sbt use the command
eclipse
to create Eclipse project files> eclipse
-
In Eclipse use the Import Wizard to import Existing Projects into Workspace
Contributions via GitHub pull requests are gladly accepted from their original author.
This code is open source software licensed under the Apache 2.0 License. Feel free to use it accordingly.
Maintainers must run git tag
to tag a release. The release can then be pushed with sbt ^publish
.