# HG changeset patch # User Bernhard Urban # Date 1391172874 -7200 # Node ID 12e1c788c1d5d01005e117480a76ee5344dbd744 # Parent 6bc07d0c2682d05386fb17ed8a037240bb1453e9 mx checkstyle: bail out if .checkstyle is missing diff -r 6bc07d0c2682 -r 12e1c788c1d5 mxtool/mx.py --- a/mxtool/mx.py Fri Jan 31 11:39:40 2014 +0100 +++ b/mxtool/mx.py Fri Jan 31 14:54:34 2014 +0200 @@ -2494,7 +2494,7 @@ dotCheckstyle = join(p.dir, '.checkstyle') if not exists(dotCheckstyle): - continue + abort('ERROR: .checkstyle for Project {0} is missing'.format(p.name)) # skip checking this Java project if its Java compliance level is "higher" than the configured JDK if java().javaCompliance < p.javaCompliance: