diff mxtool/mx.py @ 17050:49b8c8932786

projects must be rebuilt when any of their dependencies are rebuilt
author Doug Simon <doug.simon@oracle.com>
date Thu, 04 Sep 2014 22:32:49 +0200
parents 0b2675391d01
children a5dc5513ce85
line wrap: on
line diff
--- a/mxtool/mx.py	Thu Sep 04 21:46:01 2014 +0200
+++ b/mxtool/mx.py	Thu Sep 04 22:32:49 2014 +0200
@@ -2445,11 +2445,11 @@
         if p.definedAnnotationProcessorsDist:
             updatedAnnotationProcessorDists.add(p.definedAnnotationProcessorsDist)
 
+        tasks[p.name] = task
         if args.parallelize:
             # Best to initialize class paths on main process
             jdk.bootclasspath()
             task.proc = None
-            tasks[p.name] = task
         else:
             task.execute()