diff mx/commands.py @ 7748:2d57a3bd82ab

Make gate fail on warnings
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 08 Feb 2013 14:37:55 +0100
parents cf27135ccf5b
children 18eea22675ad
line wrap: on
line diff
--- a/mx/commands.py	Fri Feb 08 14:02:25 2013 +0100
+++ b/mx/commands.py	Fri Feb 08 14:37:55 2013 +0100
@@ -786,7 +786,7 @@
             tasks.append(t.stop())
         
         t = Task('BuildJava')
-        build(['--no-native'])
+        build(['--no-native', '--jdt-warning-as-error'])
         tasks.append(t.stop())
         
         if exists('jacoco.exec'):