comparison mxtool/mx.py @ 15457:c0e1a8693e0e

mx: added --jdt-warning-as-error when building annotation processor jars
author Doug Simon <doug.simon@oracle.com>
date Thu, 01 May 2014 11:51:45 +0200
parents f093fa76e872
children 7d24ff89dc7d
comparison
equal deleted inserted replaced
15456:bb97b75d1d65 15457:c0e1a8693e0e
2256 2256
2257 if len(projs) <= 0: 2257 if len(projs) <= 0:
2258 return [] 2258 return []
2259 2259
2260 pnames = [p.name for p in projs] 2260 pnames = [p.name for p in projs]
2261 build(['--projects', ",".join(pnames)]) 2261 build(['--jdt-warning-as-error', '--projects', ",".join(pnames)])
2262 return archive(pnames) 2262 return archive(pnames)
2263 2263
2264 def pylint(args): 2264 def pylint(args):
2265 """run pylint (if available) over Python source files (found by 'hg locate' or by tree walk with -walk)""" 2265 """run pylint (if available) over Python source files (found by 'hg locate' or by tree walk with -walk)"""
2266 2266