Mercurial > hg > truffle
comparison mxtool/mx.py @ 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 | a5d83166dca6 |
children | 11f217e8476a |
comparison
equal
deleted
inserted
replaced
12486:cfb89901214a | 12487:28d7a11ba008 |
---|---|
2906 out.element('arguments', data='') | 2906 out.element('arguments', data='') |
2907 out.close('buildCommand') | 2907 out.close('buildCommand') |
2908 | 2908 |
2909 if _isAnnotationProcessorDependency(p): | 2909 if _isAnnotationProcessorDependency(p): |
2910 _genEclipseBuilder(out, p, 'Jar.launch', 'archive ' + p.name, refresh=False, async=False, xmlIndent='', xmlStandalone='no') | 2910 _genEclipseBuilder(out, p, 'Jar.launch', 'archive ' + p.name, refresh=False, async=False, xmlIndent='', xmlStandalone='no') |
2911 # Refresh.launch seems to cause occasional build looping in Eclipse | 2911 _genEclipseBuilder(out, p, 'Refresh.launch', '', refresh=True, async=True) |
2912 # _genEclipseBuilder(out, p, 'Refresh.launch', '', refresh=True, async=True) | |
2913 | 2912 |
2914 if projToDist.has_key(p.name): | 2913 if projToDist.has_key(p.name): |
2915 dist, distDeps = projToDist[p.name] | 2914 dist, distDeps = projToDist[p.name] |
2916 _genEclipseBuilder(out, p, 'Create' + dist.name + 'Dist.launch', 'archive @' + dist.name, refresh=False, async=True) | 2915 _genEclipseBuilder(out, p, 'Create' + dist.name + 'Dist.launch', 'archive @' + dist.name, refresh=False, async=True) |
2917 | 2916 |