Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 13845:12e1c788c1d5
mx checkstyle: bail out if .checkstyle is missing
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Fri, 31 Jan 2014 14:54:34 +0200 |
parents | 96d5cb754b68 |
children | f11d3d5248b5 |
comparison
equal
deleted
inserted
replaced
13844:6bc07d0c2682 | 13845:12e1c788c1d5 |
---|---|
2492 continue | 2492 continue |
2493 sourceDirs = p.source_dirs() | 2493 sourceDirs = p.source_dirs() |
2494 dotCheckstyle = join(p.dir, '.checkstyle') | 2494 dotCheckstyle = join(p.dir, '.checkstyle') |
2495 | 2495 |
2496 if not exists(dotCheckstyle): | 2496 if not exists(dotCheckstyle): |
2497 continue | 2497 abort('ERROR: .checkstyle for Project {0} is missing'.format(p.name)) |
2498 | 2498 |
2499 # skip checking this Java project if its Java compliance level is "higher" than the configured JDK | 2499 # skip checking this Java project if its Java compliance level is "higher" than the configured JDK |
2500 if java().javaCompliance < p.javaCompliance: | 2500 if java().javaCompliance < p.javaCompliance: |
2501 log('Excluding {0} from checking (Java compliance level {1} required)'.format(p.name, p.javaCompliance)) | 2501 log('Excluding {0} from checking (Java compliance level {1} required)'.format(p.name, p.javaCompliance)) |
2502 continue | 2502 continue |