siasia/xsbt-web-plugin — Issue #61: SBT compilation error when configuring “scanDirectories”
Author: serioga
Created: 2011-12-01 16:24:24+00:00
State: open

Wiki documentation at recommend to configure “scanDirectories” like:

```
scanDirectories in Compile <+= file("lib")
```

If I add this line in my ```build.sbt``` file, then I get error on loading project in STB:

```
[info] Loading project definition from C:\myproject\project
C:\myproject\build.sbt:7: error: type mismatch;
found : sbt.package.File
required: sbt.Project.Initialize[sbt.Types.Id[?]]
scanDirectories in Compile <+= file("lib")
^
```