2

我有多个混合的 java/scala eclipse 项目,它们之间存在依赖关系。有没有办法自动创建一个 sbt 构建文件?

关于项目的更多信息:它们是作为 Java 项目开始的,使用 libgdx 和 eclipse。我添加了 Scala 并使用内部 scala-ide sbt 构建器构建它。所以它已经使用 sbt 来构建。我想将 emacs 与 sbt 一起使用,而我的同事想与 eclipse 一起工作。

4

1 回答 1

2

No. There is not.

The same question for Maven summarize most of the problems of creating a complete build definition from Eclipse projects. Mainly the configuration of the external dependencies and between the different projects.

The common case is to go the other way around, from an sbt project to the Eclipse configuration files. Depending of your projects you may want to create a build for each project, or one for all projects, or something in between.

Multi-projects builds are described here, but I would strongly advise to read the getting started guide from the beginning.

Then, creating the Eclipse configuration files is done using the sbteclipse plugin.

于 2013-08-28T15:31:19.770 回答