different location of AndroidManifest.xml

Posted by didito on Stack Overflow See other posts from Stack Overflow or by didito
Published on 2011-09-14T16:17:23Z Indexed on 2011/11/14 17:51 UTC
Read the original article Hit count: 387

Filed under:
|
|
|

i have a custom buildchain for an android project. there is a build.xml and build.properties. build.properties contains this line:

manifest.file =${env.WORK_FOLDER}/AndroidManifest.xml

and WORK_FOLDER is correctly set to proj_root_work.

the layout is like the following:

proj_root-_work [DIR] (some stuff gets preprocessed and all finally copied here - src, res, assets and the AndroidManifest.xml)
         -build.xml 
         -build.properties

then i call ant for my build configuration from the proj_root and it complains about not finding AndroidManifest.xml. when i put it in my proj_root it works, but i really want it in my _Work directory. i read that the file HAS TO BE in the root, what is the point then of the build.properties entry? also i saw some custom parameters to aapt.exe ...

any hints welcome, thx

© Stack Overflow or respective owner

Related posts about android

Related posts about ant