Skip to content

sbt/sbt-eclipse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sbt-eclipse

This project is a plugin for SBT 0.9 providing a command to create Eclipse project files from a SBT project.

Attention: This is work in progress and so is SBT 0.9. In order to use this plugin you probably will have to build SBT 0.9 yourself.

Usage

  • First add the plugin to your global plugins project ~/.sbt/plugins
  • Then create a SBT project
  • Now you can use the command eclipse to create Eclipse project files
  • Finally you can import the project in Eclipse unsing the “Import Wizard”

Example:

~$ mkdir -p .sbt/plugins
~$ cd .sbt/plugins/
plugins$ sbt09
> set libraryDependencies += "com.weiglewilczek.sbteclipse" %% "sbteclipse" % "0.1"
> set resolvers += ScalaToolsSnapshots
> session save
> exit

tmp$ mkdir test
tmp$ cd test
test$ sbt09
> eclipse
[error] Only for Scala 2.9!
> set scalaVersion := "2.9.0.RC1"
> eclipse
[info] Successfully created an Eclipse project for you. Have fun!

License

sbt-eclipse is open source software licensed under the Apache 2.0 License. If you like it, feel free use it!