Oh, I got the GraphVizReportRenderer to "run".. and it certainly generates a .dot file.
It is just that when I convert that dot file into a PNG or PDF, the final illustration isn't correct/useful. It is like it wants to make a 24x36in drawing.. and only draws the lower left corner of it (on repeated sheets). I freely admit I dont know much about Graphviz etc.. so quite possibly itis just the use of "dot" that i'm messing up. Roger On Jan 1, 2010, at 12:04 PM, Phil Messenger wrote: > > > Adam Murdoch-2 wrote: >> >> >> >> On 31/12/09 2:40 AM, Roger Studner wrote: >>> Finally tried this out.. got the dependencies.txt file. >>> >>> My assumption from the API docs is that this is in dot format. >>> >>> so, I did dot dependencies.txt -Tps (or png, or anything) -o >>> output.<correct extention> >>> >>> In the case of the .ps.. I then used ghostscript... ps2pdf.. or used >>> preview.. anything.. to make soething I can view. >>> >>> It seems to be 10 pages long... some information on about 3 of them, with >>> about 7 blank.. and in all cases, it is the exact same "view" >>> (spring-security;compile lah lah). >>> >>> So, is this actually working/useful? >>> >>> >> >> There's no integration test for this, so it's probably broken by now. >> Could you add a JIRA issue to get this fixed? >> >> >> > > The default format of dependencies.txt is an ASCII-art tree, and not a > Graphviz file. > > There's a renderer to build a Graphviz dot file, but this doesn't appear to > be actually hooked up to anything. Should be pretty trivial to do - hook up > some sort of command line switch and instantiate a GraphvizReportRenderer > instead of an AsciiReportRenderer. > > I couldn't work out how to do this (without using a -Dfoo=bar style switch) > when I wrote the original patch and it seems to have been missed by whomever > merged it. > > Phil. > -- > View this message in context: > http://old.nabble.com/Graphviz-dependency-reporter-tp26968740p26986671.html > Sent from the gradle-user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
