In an Ant build, you can use replaceregexp to modify the manifest:
<replaceregexp file="${build.manifest.file}"
match="android:versionName=\"[^\"]*\""
replace="android:versionName=\"${svn.revision.max}\"" /
>
You can pass the svnversion in the Ant command line, or use SvnAnt to
grab the revision within Ant.
On Jun 19, 3:44 pm, Sebastian Müller <[email protected]> wrote:
> Hi
>
> Is there any possibility to set the result of the command svnversion into
> the tag android:versionName of the Android manifest file??
>
> Thanks
--
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