Groping in the dark, I just resorted to a pathetic hack (note the path backtracking):
(resourceManaged in (Compile, CoffeeKeys.coffee)) <<=
(crossTarget in Compile)(_ / "../../../apache/static" / "js")
Is there any way to specify the absolute target write path with coffeescripted-sbt? The intro/overview states
You can override this behavior by overriding the resourceManaged
setting scoped to your configration and the CoffeeKeys.coffee task.
Below is an example you can append to your build definition which will
copy generated javascript to target/:scala-version/your_preference/js
That’s great, but I’d like to write directly to apache statics directory, and not 4 levels deep in my sbt-eclipse project
Should note: I’m getting the Unicorn is Angry quite often on GitHub these days, so issue tracker isn’t much help.
Thanks for any clues, what I have works, but I’d like to know how to set the absolute path properly
Sets compile target relative to the default, which is “project_root/target/scala-version/”
The solution is refreshingly simple:
SBT user group thread