diff 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
line wrap: on
line diff
--- a/mxtool/mx.py	Wed Apr 30 15:41:44 2014 -1000
+++ b/mxtool/mx.py	Thu May 01 11:51:45 2014 +0200
@@ -2258,7 +2258,7 @@
         return []
 
     pnames = [p.name for p in projs]
-    build(['--projects', ",".join(pnames)])
+    build(['--jdt-warning-as-error', '--projects', ",".join(pnames)])
     return archive(pnames)
 
 def pylint(args):