Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 21781:d013bb1cbf9f
mx: Filter package-info.class out when checking timestamps for java compilations
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 08 Jun 2015 15:01:17 +0200 |
parents | 0c60e14e7796 |
children | 6db6070d30b9 |
comparison
equal
deleted
inserted
replaced
21780:3d15183f3c93 | 21781:d013bb1cbf9f |
---|---|
2831 | 2831 |
2832 if not buildReason: | 2832 if not buildReason: |
2833 for javafile in javafiles: | 2833 for javafile in javafiles: |
2834 classfile = TimeStampFile(outputDir + javafile[len(sourceDir):-len('java')] + 'class') | 2834 classfile = TimeStampFile(outputDir + javafile[len(sourceDir):-len('java')] + 'class') |
2835 if not classfile.exists() or classfile.isOlderThan(javafile): | 2835 if not classfile.exists() or classfile.isOlderThan(javafile): |
2836 buildReason = 'class file(s) out of date' | 2836 if basename(classfile.path) != 'package-info.class': |
2837 break | 2837 buildReason = 'class file(s) out of date' |
2838 break | |
2838 | 2839 |
2839 apsOutOfDate = p.update_current_annotation_processors_file() | 2840 apsOutOfDate = p.update_current_annotation_processors_file() |
2840 if apsOutOfDate: | 2841 if apsOutOfDate: |
2841 buildReason = 'annotation processor(s) changed' | 2842 buildReason = 'annotation processor(s) changed' |
2842 | 2843 |