Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

closes #44: Dependency on scala compiler should be treated in special…

… way
  • Loading branch information...
commit d8f46a6fb737fdba0a51e8e7c0dbdd385fc09339 1 parent f14bcce
@gkossakowski gkossakowski authored Heiko Seeberger committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/scala/com/typesafe/sbteclipse/SbtEclipsePlugin.scala
View
5 src/main/scala/com/typesafe/sbteclipse/SbtEclipsePlugin.scala
@@ -215,6 +215,11 @@ object SbtEclipse {
}
}
def libEntries = libraries flatMap {
+ // Scala compiler (and library) are treated as special kind of dependencies in Scala IDE!
+ // TODO Special test needed!!
+ case Library(file, _) if file.getName == "scala-compiler.jar" =>
+ logDebug("Creating lib entry for Scala compiler.")
+ <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_COMPILER_CONTAINER"/>
case Library(Path(binary), Some(Path(sources))) =>
logDebug("""Creating lib entry with source attachment for dependency "%s".""" format binary)
<classpathentry kind="lib" path={ binary } sourcepath={ sources }/>
Please sign in to comment.
Something went wrong with that request. Please try again.