mpeltonen/sbt-idea — Issue #132: Some file won't copy from resources to class dir when using idea's build
Author: sparkle
Created: 2012-02-07 06:17:33+00:00
State: open

I used sbt-idea to generate idea project file and open it by idea, the build function works fine except that some files in resources didn't copy to class dir. For example, I have a project like this,
src/main/scala
Main.scala ...
src/main/resources
application.xml
somefile.txt

When I use idea's build function, application.xml appear in target/scala-2.9.1/classes, but somefile.txt didn't. Since like that it's influenced by file extension because all xml file did right but other didn't.

But the sbt works fine, so I had to run "sbt test" before using idea's run function.