Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 16947:7dbe1207fccf
mx: do not clean up temp files from the build command if -v is specified
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 26 Aug 2014 15:56:46 +0200 |
parents | 5e5f5073d713 |
children | ad10671d1bbd |
comparison
equal
deleted
inserted
replaced
16946:424478f1d8a6 | 16947:7dbe1207fccf |
---|---|
2229 # Create annotation processor jar for a project that defines annotation processors | 2229 # Create annotation processor jar for a project that defines annotation processors |
2230 if self.proj.definedAnnotationProcessorsDist: | 2230 if self.proj.definedAnnotationProcessorsDist: |
2231 self.proj.definedAnnotationProcessorsDist.make_archive() | 2231 self.proj.definedAnnotationProcessorsDist.make_archive() |
2232 | 2232 |
2233 finally: | 2233 finally: |
2234 for n in toBeDeleted: | 2234 # Do not clean up temp files if verbose as there's |
2235 os.remove(n) | 2235 # a good chance the user wants to copy and paste the |
2236 # Java compiler command directly | |
2237 if not _opts.verbose: | |
2238 for n in toBeDeleted: | |
2239 os.remove(n) | |
2240 | |
2236 self.done = True | 2241 self.done = True |
2237 | 2242 |
2238 def build(args, parser=None): | 2243 def build(args, parser=None): |
2239 """compile the Java and C sources, linking the latter | 2244 """compile the Java and C sources, linking the latter |
2240 | 2245 |