comparison 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
comparison
equal deleted inserted replaced
7747:142dffbd0a5d 7748:2d57a3bd82ab
784 if mx.eclipseformat(['-e', eclipse_exe]) != 0: 784 if mx.eclipseformat(['-e', eclipse_exe]) != 0:
785 t.abort('Formatter modified files - run "mx eclipseformat", check in changes and repush') 785 t.abort('Formatter modified files - run "mx eclipseformat", check in changes and repush')
786 tasks.append(t.stop()) 786 tasks.append(t.stop())
787 787
788 t = Task('BuildJava') 788 t = Task('BuildJava')
789 build(['--no-native']) 789 build(['--no-native', '--jdt-warning-as-error'])
790 tasks.append(t.stop()) 790 tasks.append(t.stop())
791 791
792 if exists('jacoco.exec'): 792 if exists('jacoco.exec'):
793 os.unlink('jacoco.exec') 793 os.unlink('jacoco.exec')
794 794