Make maven executable path accessible in prebuild/init

This commit is contained in:
Ciaran Gultnieks 2012-10-01 13:19:00 +01:00
parent 372cd28881
commit d302c669bd
4 changed files with 15 additions and 14 deletions

View file

@ -35,8 +35,8 @@ def main():
# Read configuration...
global build_server_always, mvn3
build_server_always = False
mvn3 = "mvn3"
globals()['build_server_always'] = False
globals()['mvn3'] = "mvn3"
execfile('config.py', globals())
@ -99,7 +99,7 @@ def main():
# Prepare the source code...
root_dir = common.prepare_source(vcs, app, thisbuild,
build_dir, extlib_dir, sdk_path, ndk_path, javacc_path, options.verbose)
build_dir, extlib_dir, sdk_path, ndk_path, javacc_path, mvn3, options.verbose)
# Do the scan...
buildprobs = common.scan_source(build_dir, root_dir, thisbuild)