diff mxtool/mx.py @ 5239:b9db4fee6eb2

skip a native build if all files in src and make are older than the timestamp of the previous build
author Doug Simon <doug.simon@oracle.com>
date Fri, 13 Apr 2012 15:26:08 +0200
parents ddccd4abdb09
children 1a9a048386d6
line wrap: on
line diff
--- a/mxtool/mx.py	Fri Apr 13 11:15:36 2012 +0200
+++ b/mxtool/mx.py	Fri Apr 13 15:26:08 2012 +0200
@@ -1041,7 +1041,7 @@
     defaultEcjPath = join(_mainSuite.dir, 'mx', 'ecj.jar')
     
     parser = parser if parser is not None else ArgumentParser(prog='mx build')
-    parser.add_argument('-f', action='store_true', dest='force', help='force compilation even if class files are up to date')
+    parser.add_argument('-f', action='store_true', dest='force', help='force build (disables timestamp checking)')
     parser.add_argument('-c', action='store_true', dest='clean', help='removes existing build output')
     parser.add_argument('--source', dest='compliance', help='Java compliance level', default=str(javaCompliance))
     parser.add_argument('--Wapi', action='store_true', dest='warnAPI', help='show warnings about using internal APIs')