I'm working through a tutorial for the Play 2 framework with Scala, and have encountered this error when attempting to compile:
[playProducts] $ compile
[trace] Stack trace suppressed: run last compile:managedSources for the full output.
[error] (compile:managedSources) java.io.FileNotFoundException:
/Users/peterbecich/scala/playProducts/app/views/tags/.#barcode.scala.html
(No such file or directory)
The managed sources list is not viewable.
[playProducts] $ show managedSources
[trace] Stack trace suppressed: run last compile:managedSources for the full output.
[error] (compile:managedSources) java.io.FileNotFoundException:
/Users/peterbecich/scala/playProducts/app/views/tags/.#barcode.scala.html (No such file or directory)
Unmanaged sources are viewable, and no temp files are listed.
[playProducts] $ show unmanagedSources
[info] ArrayBuffer(/Users/peterbecich/scala/playProducts/app/controllers/Application.scala, /Users/peterbecich/scala/playProducts/app/controllers/Barcodes.scala, /Users/peterbecich/scala/playProducts/app/controllers/Products.scala, /Users/peterbecich/scala/playProducts/app/models/Product.scala)
Is the solution similar to including something like this in build.sbt? This did not solve it, and obviously is not a solution for all temp files. Can you use regex in an SBT config file?
excludeFilter in managedSources := ".#barcode.scala.html"
I'm using Oracle JDK 8 on Mavericks. Should I downgrade to JDK 6 or 7? SBT is 0.13.5, Play is 2.2.3, and Scala is 2.10.3.
Here is the full compile error: http://pastebin.com/gGGmUE3f
Thanks for your feedback!