Some more work on the importer

This commit is contained in:
Ciaran Gultnieks 2012-02-09 09:06:51 +00:00
parent c528bb5dda
commit 006cd46725
2 changed files with 26 additions and 0 deletions

View file

@ -685,6 +685,7 @@ def prepare_source(vcs, app, build, build_dir, extlib_dir, sdk_path, ndk_path, j
# the original behaviour...
buildxml = os.path.join(root_dir, 'build.xml')
if os.path.exists(buildxml):
print 'Force-removing old build.xml'
os.remove(buildxml)
if subprocess.call(parms, cwd=root_dir) != 0:
raise BuildException("Failed to update project")