Open analytically opened 12 years ago
Any idea @mdr?
Maybe you can provide an isolated test case for this, Mathias? I won't fix this for the 0.7.0 release but then we can see later what can be done.
Add these dependencies, with 0.7.0-RC3 it actually seems to be stuck:
// Utilities
"com.typesafe" % "config" % "1.0.0",
"com.github.scala-incubator.io" %% "scala-io-core" % "0.4.1-seq",
"com.github.scala-incubator.io" %% "scala-io-file" % "0.4.1-seq",
// Spray
"io.spray" % "spray-can" % V.spray,
"io.spray" % "spray-routing" % V.spray,
"io.spray" %% "spray-json" % "1.2",
// Akka
"com.typesafe.akka" % "akka-actor" % V.akka,
"com.typesafe.akka" % "akka-slf4j" % V.akka % "runtime",
// Metrics
"com.yammer.metrics" % "metrics-core" % "2.1.3" intransitive(),
"com.yammer.metrics" % "metrics-scala_2.9.1" % "2.1.3",
// Logging
"org.slf4j" % "slf4j-api" % "1.7.2",
"org.slf4j" % "jcl-over-slf4j" % "1.7.2",
"org.slf4j" % "log4j-over-slf4j" % "1.7.2",
"ch.qos.logback" % "logback-classic" % "1.0.7",
"org.codehaus.janino" % "janino" % "2.6.1",
// Jackson
"com.fasterxml.jackson.core" % "jackson-databind" % "2.1.0",
// Storm
"storm" % "storm" % "0.8.1" excludeAll(
ExclusionRule(organization = "commons-logging"),
ExclusionRule(organization = "log4j"),
ExclusionRule(organization = "org.slf4j", name = "slf4j-log4j12")
),
"storm" % "storm-kafka" % "0.8.0-wip4" excludeAll(
ExclusionRule(organization = "commons-logging"),
ExclusionRule(organization = "log4j"),
ExclusionRule(organization = "org.slf4j", name = "slf4j-log4j12")
),
// OpenTSDB
"org.hbase" % "asynchbase" % "1.3.2",
// MongoDB
"com.novus" %% "salat" % "1.9.2-SNAPSHOT",
// Redis
"net.debasishg" %% "redisclient" % "2.7",
// Testing
"org.specs2" %% "specs2" % "1.12.1" % "test",
"com.novocode" % "junit-interface" % "0.10-M1" % "test",
"org.powermock" % "powermock-api-mockito" % "1.4.12" % "test",
"org.powermock" % "powermock-module-junit4" % "1.4.12" % "test"
Try dependency-graph --force with the dependencies above.
I think I can reproduce it with this testcase. Could it be, that it is just slow? I guess the graphing library has bad runtime for larger graphs.
Any update on this? This still fails for me. Thanks!!
This is a show stopper for me using this tool
@samthebest why is this a showstopper? The only thing that doesn't work is generating the ASCII graph which isn't a good idea for a big dependency structure anyway. Wouldn't the alternatives like dependency-tree
or dot output work for you?
@jrudolph Ah, sorry, I didn't realize the alternatives wouldn't throw that exception. Please could you add a catch for that AIOB and say something along the lines of "Your graph is too big for ASCII version".
Also see #56 for another reproduction.