How to attach sources to SBT managed dependencies in Scala IDE? - Stack Overflow
Finally I found a solution to let sbt download the sources and tell Eclipse where to find them.
Add in build.sbt:
EclipseKeys.withSource := true
Then run:
rm -rf ~/.ivy2/cache/ sbt update-classifiers sbt eclipse
The weird part is that if you already downloaded the dependencies in ivy, you have them in cache and you won't be able to download the sources for them.
Read full article from How to attach sources to SBT managed dependencies in Scala IDE? - Stack Overflow
No comments:
Post a Comment