sbt / sbt-dependency-graph

sbt plugin to create a dependency graph for your project
Apache License 2.0
1.25k stars 113 forks source link

Strange behavior of "--force" parameter in playframework app #53

Closed mulya closed 10 years ago

mulya commented 10 years ago

I've found this problem with my playframework 3.2.3 application.

Problem:

jrudolph commented 10 years ago

You need to use doublequotes when calling from a shell: activator "dependency-graph --force".

The infinite operation is a known problem with dependency-graph that hasn't been fixed yet, but which instead was hidden behind --force not least for the reason that it doesn't complete in reasonable time for some graphs, so it probably is just a variant of #19.

mulya commented 10 years ago

@jrudolph Thanks for fast response. I tried activator "dependency-graph --force", but got infinite operation again.

mulya commented 10 years ago

@jrudolph Please let me know if i can help you somehow with this problem.

jrudolph commented 10 years ago

I don't think there's any quick solution available. It seems that the asciigraph dependency sbt-dependency-graph is using for rendering ASCII-graphs is currently just not capable of rendering big graphs.

You may want to look at the https://github.com/gilt/sbt-dependency-graph-sugar project which can render graphs directly to svg which should also be more easy digestible for bigger graphs. Also sbt-dependency-graph supports dot-output out-of-the-box which I also found quite nice to work with.

mulya commented 10 years ago

@jrudolph Ok, I'll try to figure out what to do