changeset 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 81e464d45137
children 9865883b5114
files mxtool/mx.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Tue Feb 03 14:37:10 2015 +0100
+++ b/mxtool/mx.py	Wed Jan 28 15:46:13 2015 +0100
@@ -3440,7 +3440,10 @@
     print 'node [shape=rect];'
     for p in projects():
         for dep in p.canonical_deps():
-            print '"' + p.name + '"->"' + dep + '"'
+            print '"' + p.name + '"->"' + dep + '";'
+        if hasattr(p, '_declaredAnnotationProcessors'):
+            for ap in p._declaredAnnotationProcessors:
+                print '"' + p.name + '"->"' + ap + '" [style="dashed"];'
     print '}'
 
 def _source_locator_memento(deps):