Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 19094:258b3658845a
mx: Show annotation processor edges in projectgraph
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Wed, 28 Jan 2015 15:46:13 +0100 |
parents | 9aa1cff041eb |
children | ad32fd810c83 |
comparison
equal
deleted
inserted
replaced
19093:81e464d45137 | 19094:258b3658845a |
---|---|
3438 print 'digraph projects {' | 3438 print 'digraph projects {' |
3439 print 'rankdir=BT;' | 3439 print 'rankdir=BT;' |
3440 print 'node [shape=rect];' | 3440 print 'node [shape=rect];' |
3441 for p in projects(): | 3441 for p in projects(): |
3442 for dep in p.canonical_deps(): | 3442 for dep in p.canonical_deps(): |
3443 print '"' + p.name + '"->"' + dep + '"' | 3443 print '"' + p.name + '"->"' + dep + '";' |
3444 if hasattr(p, '_declaredAnnotationProcessors'): | |
3445 for ap in p._declaredAnnotationProcessors: | |
3446 print '"' + p.name + '"->"' + ap + '" [style="dashed"];' | |
3444 print '}' | 3447 print '}' |
3445 | 3448 |
3446 def _source_locator_memento(deps): | 3449 def _source_locator_memento(deps): |
3447 slm = XMLDoc() | 3450 slm = XMLDoc() |
3448 slm.open('sourceLookupDirector') | 3451 slm.open('sourceLookupDirector') |