ivyde

How to attach sources to SBT managed dependencies in Scala IDE?

蹲街弑〆低调 提交于 2019-11-29 10:47:50
问题 I'm using Scala IDE 2.0.1 and SBT 0.11.2 to start with Akka 2.0.1. My build.sbt looks like this: name := "akka" version := "0.1" scalaVersion := "2.9.2" resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" libraryDependencies += "com.typesafe.akka" % "akka-actor" % "2.0.1" As you can see, there's nothing spectacular. Now how can I tell Eclipse to use the artifact with the sources classifier for the akka-actor library? In SBT, I can use update-classifiers to

How to attach source code of libraries downloaded with ivy

让人想犯罪 __ 提交于 2019-11-27 12:59:57
问题 I use ivy with the ivy eclipse plugin to download dependencies. Works great. But how can I attach the source code for those libraries, in order to step into these libraries? 回答1: Have you tried attaching the source configurations? <dependencies defaultconfmapping="*->default,sources"> 回答2: There is an ant task that will modify the .classpath file to reference the source attachments. 回答3: I use the IvyDE plugin, and it seems to automatically download and attach sources. I'm using Eclipse