Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 17063:75a4acd33159
mx: do not clean distributions if the --no-java option is given to the clean command
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 08 Sep 2014 19:04:32 +0200 |
parents | a5dc5513ce85 |
children | c24ea91c30ba |
comparison
equal
deleted
inserted
replaced
17062:a6277ae87f0e | 17063:75a4acd33159 |
---|---|
3112 for configName in ['netbeans-config.zip', 'eclipse-config.zip']: | 3112 for configName in ['netbeans-config.zip', 'eclipse-config.zip']: |
3113 config = TimeStampFile(join(p.suite.mxDir, configName)) | 3113 config = TimeStampFile(join(p.suite.mxDir, configName)) |
3114 if config.exists(): | 3114 if config.exists(): |
3115 os.unlink(config.path) | 3115 os.unlink(config.path) |
3116 | 3116 |
3117 if args.dist: | 3117 if args.java: |
3118 for d in _dists.keys(): | 3118 if args.dist: |
3119 log('Removing distribution {0}...'.format(d)) | 3119 for d in _dists.keys(): |
3120 _rmIfExists(distribution(d).path) | 3120 log('Removing distribution {0}...'.format(d)) |
3121 _rmIfExists(distribution(d).sourcesPath) | 3121 _rmIfExists(distribution(d).path) |
3122 _rmIfExists(distribution(d).sourcesPath) | |
3122 | 3123 |
3123 if suppliedParser: | 3124 if suppliedParser: |
3124 return args | 3125 return args |
3125 | 3126 |
3126 def about(args): | 3127 def about(args): |