On May 16, 9:12 pm, Dianne Hackborn <[email protected]> wrote:
> You can use --version-name and --version-code arguments to aapt to supply
> these values at build time.
Thanks for the hint Diane.
Should I understand that that means I cannot reference the Integer
resource I generate for versionCode in the manifest?
At the moment I am using the standard Android build process.
Inside Eclipse I add an extra builder that calls my "build_info.xml"
to generate the resource file before the main build.
Outside Eclipse from ant by hooking into the -pre-build target using:
<target name="-pre-build">
<antcall target="build-info" />
</target>
in build.xml, with the build-info being the same target that eclipse
calls, making things pretty smooth.
So, I guess I will need to figure out how to hook into the appt stage,
or roll more and more of my own build.
Any hints on doing that with minimal effort and disruption to the
standard android build process would be appreciated, I'll investigate
and post back my findings.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en