Thursday, February 27, 2014

Re: GWT compiling tools: is there any way to get the graph of inherited modules? Even a simple flat list would be fine :-)

I've patched the original file in order to provide
  • better exit status handling
  • alternative output type (a textual representation of the deps tree)
  • possibility to write on the standard output
Follows an excerpt from the dependency tree                     
     |  |                                            
     |  |                                            
     |  `-->   

It works quite fine for me (integrated it into a gradle script) and I'd like to propose a patch, but I've never used gerrit, so I don't know how to propose a new patch to the existing review. May I post the changed file here?


On Tuesday, February 25, 2014 3:31:28 PM UTC+1, Thomas Broyer wrote:

On Tuesday, February 25, 2014 3:25:47 PM UTC+1, Davide Cavestro wrote:
Hi all,
I am in the process of switching linker to Cross-Site-Iframe in order to obtain the compatibility with superdevmode, so I'd like to locate and remove the script tags from the modules I'm inheriting from (since this linker doesn't support them).
Now I'm just  wondering if there's an easy way to obtain from the gwt compiler or other tools the graph of inherited modules (possibly transitive).
It would be really useful in order to avoid having to manually read every inherited module to find additional inherited modules and so on.
Also, having a clear graph of this kind of dependencies would be a good check tool especially when you depend on 3rd party modules.

I once wrote a tiny tool that does just that:
Or you could just compile with -logLevel DEBUG and grep for "Loading inherited module" 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment