Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

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

Closed
mulya opened this issue Aug 19, 2014 · 5 comments
Closed

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

mulya opened this issue Aug 19, 2014 · 5 comments

Comments

@mulya
Copy link

mulya commented Aug 19, 2014

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

Problem:

  • shell command "activator dependency-graph --force" gives "Not a valid command: force"
  • run "activator" then input "dependency-graph --force" gives nothing, just infinite operation
  • same results if you replase "activator" command to "sbt" command

How to reproduce:

  1. Just create empty play-scala app using activator
  2. Add dependency-graph as you described in the front page of this repo.
@jrudolph
Copy link
Member

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
Copy link
Author

mulya commented Aug 19, 2014

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

@mulya
Copy link
Author

mulya commented Aug 19, 2014

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

@jrudolph
Copy link
Member

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
Copy link
Author

mulya commented Aug 19, 2014

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants