typesafehub/sbteclipse — Issue #43: missing dependency and workaround: org.antlr stringtemplate 3.2.1
Author: emchristiansen
Created: 2011-10-10 20:38:13+00:00
State: open

Using sbt 0.11 with Scala 2.9.1 with sbteclipse 1.4.0 in Ubuntu 11.04.

Attempted:

sbt "eclipse with-sources same-targets"

Got error:

[info] About to create an Eclipse project for you.
[info] Please hang on, because it might be necessary to perform one or more updates and this might take some time ...
[error] impossible to get artifacts when data has not been loaded. IvyNode = org.antlr#stringtemplate;3.2.1
[error] {file:/home/eric/src/query_face_com/make-metadata-database/}default-142448/*:update-classifiers: java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = org.antlr#stringtemplate;3.2.1
[error] Error running updateClassifiers task for default-142448

Workaround is to add org.antlr stringtemplate 3.2.1 manually:

// Added to build.sbt in project root
libraryDependencies ++= Seq(
"org.antlr" % "stringtemplate" % "3.2.1"
)