Make a java builder that is run before anything else. Make sure you have it refresh the AndroidManifest.xml. You can use either a script you write or some ant tasks. I know there is an ant task that with increment a build number and then you can use the regexp task to update the ANdroidManifest.xml

On 9/27/2010 2:32 AM, mahesh patil wrote:
Hi all,

My requirement is, I want to auto increament the android:versionName
value on every compilation of my build in eclipse.

I can access it through packageInfo api but how can I modify it
without doing manually.

Waiting for your valuable feedbacks.

Thanks and Regards,
Mahesh Patil.


--
Leigh McRae
www.lonedwarfgames.com

--
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

Reply via email to