Mercurial > hg > truffle
diff mxtool/mx.py @ 7293:4974776828ec
Avoid recursive calls of build
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Fri, 21 Dec 2012 15:27:04 -0800 |
parents | a748e4d44694 |
children | 57edf6b07d36 |
line wrap: on
line diff
--- a/mxtool/mx.py Fri Dec 21 10:45:37 2012 -0800 +++ b/mxtool/mx.py Fri Dec 21 15:27:04 2012 -0800 @@ -1438,7 +1438,7 @@ jdtProperties = join(p.dir, '.settings', 'org.eclipse.jdt.core.prefs') if not exists(jdtProperties): # Try to fix a missing properties file by running eclipseinit - eclipseinit([]) + eclipseinit([], buildProcessorJars=False) if not exists(jdtProperties): log('JDT properties file {0} not found'.format(jdtProperties)) else: @@ -1872,13 +1872,14 @@ os.makedirs(eclipseLaunches) return update_file(join(eclipseLaunches, name + '.launch'), launch) -def eclipseinit(args, suite=None): +def eclipseinit(args, suite=None, buildProcessorJars=True): """(re)generate Eclipse project configurations""" if suite is None: suite = _mainSuite - processorjars() + if buildProcessorJars: + processorjars() for p in projects(): if p.native: