changeset 12487:28d7a11ba008

revert attempt to avoid Eclipse build loops "We need a way the refresh the created jar file in Eclipse. Doing it directly in Jar.launch does not work for some reasons I still do not completely understand. So Refresh.launch is the workaround for that problem. Unfortunately the Refresh.launch needs to be async and that causes the well known build loop. Setting the Refresh.launch not to be async does sadly not help." -Christian Humer
author Doug Simon <doug.simon@oracle.com>
date Fri, 18 Oct 2013 17:00:52 +0200
parents cfb89901214a
children 1a4dc163cd0a
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Thu Oct 17 18:18:05 2013 +0200
+++ b/mxtool/mx.py	Fri Oct 18 17:00:52 2013 +0200
@@ -2908,8 +2908,7 @@
 
         if _isAnnotationProcessorDependency(p):
             _genEclipseBuilder(out, p, 'Jar.launch', 'archive ' + p.name, refresh=False, async=False, xmlIndent='', xmlStandalone='no')
-            # Refresh.launch seems to cause occasional build looping in Eclipse
-            # _genEclipseBuilder(out, p, 'Refresh.launch', '', refresh=True, async=True)
+            _genEclipseBuilder(out, p, 'Refresh.launch', '', refresh=True, async=True)
 
         if projToDist.has_key(p.name):
             dist, distDeps = projToDist[p.name]