menu
書いてる野郎
orebike@gmail.com
typesafehub/sbteclipse これまんまなんですけど
project/plugins.sbt
というファイルを作る。
内容は
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")
でこんな感じ
. ├── build.sbt ├── project │ ├── build.properties │ └── plugins.sbt └── src ├── main │ ├── java │ ├── resources │ └── scala │ └── jp │ └── co │ └── sample │ └── hogehoge │ └── Main.scala └── test ├── java ├── resources └── scala
ここで
$ sbt eclipse
.settings/org.eclipse.core.resources.prefs .classpath .project
の3つのファイルが追加された OK
それでは、これを Eclipse PJ として Eclipse に import する OK
Eclipse 側でも実行できた
gitignore は
.settings/ .project .classpath
これでOK