Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 21428:e3438899928c
Bind NetBeans Build action directly to ./mx build command line invocation
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 20 May 2015 05:37:55 +0200 |
parents | f9883cab4580 |
children | c190ed6b84bf |
comparison
equal
deleted
inserted
replaced
21427:4de8827ca59b | 21428:e3438899928c |
---|---|
4431 out.open('condition', {'property' : 'no.deps'}) | 4431 out.open('condition', {'property' : 'no.deps'}) |
4432 out.element('equals', {'arg1' : '${no.dependencies}', 'arg2' : 'true'}) | 4432 out.element('equals', {'arg1' : '${no.dependencies}', 'arg2' : 'true'}) |
4433 out.close('condition') | 4433 out.close('condition') |
4434 | 4434 |
4435 out.close('target') | 4435 out.close('target') |
4436 out.open('target', {'name' : '-post-compile'}) | 4436 out.open('target', {'name' : 'compile'}) |
4437 out.open('exec', {'executable' : sys.executable}) | 4437 out.open('exec', {'executable' : sys.executable}) |
4438 out.element('env', {'key' : 'JAVA_HOME', 'value' : jdk.jdk}) | 4438 out.element('env', {'key' : 'JAVA_HOME', 'value' : jdk.jdk}) |
4439 out.element('arg', {'value' : os.path.abspath(__file__)}) | 4439 out.element('arg', {'value' : os.path.abspath(__file__)}) |
4440 out.element('arg', {'value' : 'archive'}) | 4440 out.element('arg', {'value' : 'build'}) |
4441 out.element('arg', {'value' : '@GRAAL'}) | 4441 out.element('arg', {'value' : '--only'}) |
4442 out.element('arg', {'value' : p.name}) | |
4442 out.close('exec') | 4443 out.close('exec') |
4444 out.close('target') | |
4445 out.open('target', {'name' : 'jar', 'depends' : 'compile'}) | |
4443 out.close('target') | 4446 out.close('target') |
4444 out.close('project') | 4447 out.close('project') |
4445 update_file(join(p.dir, 'build.xml'), out.xml(indent='\t', newl='\n')) | 4448 update_file(join(p.dir, 'build.xml'), out.xml(indent='\t', newl='\n')) |
4446 if files: | 4449 if files: |
4447 files.append(join(p.dir, 'build.xml')) | 4450 files.append(join(p.dir, 'build.xml')) |