如何让sbteclipse在提供范围内使用unmanagedBase?

时间:2014-03-13 11:13:29

标签: sbt sbteclipse

build.sbt文件中的代码段

EclipseKeys.configurations := Set(Compile, Test, Provided)

unmanagedBase in Provided := new java.io.File("/path/to/external/libdir")

但是当我跑sbt eclipse时,我得到了这个:

[info] About to create Eclipse project files for your project(s).
[error] Could not create Eclipse project files:
[error] Undefined setting 'unmanagedSourceDirectories'!
[error] Undefined task 'externalDependencyClasspath' for 'myproject'!

0 个答案:

没有答案