[android-developers] How to modify manifest android:versionName=1.0/

2010-12-28 Thread sashad
HI Guys, I would like to override android:versionName attribute that is located in AndroidManifest.xml here is a sample ?xml version=1.0 encoding=utf-8? manifest android:versionCode=1 android:versionName=1.0 / I found ant code to read this value using xPath xpath

Re: [android-developers] How to modify manifest android:versionName=1.0/

2010-12-28 Thread Mark Murphy
Option #1: Edit it by hand Option #2: Write a Java/Ruby/sed/whatever program to modify the data and call that from an Ant Exec task Option #3: Write a custom Ant task Option #4: Use the Replace or ReplaceRegExp tasks Option #5: Use a Script task and a Beanshell/Groovy/whatever script Option