On Mar 31 2010, 3:16 am, Bob Kerns <[email protected]> wrote:
> There is a much better way to do this. I have outlined it in a prior
> post, but I don't have time to dig it out or recreate it tonight.
>
> I'm planning to turn it into a blog post at some point.
>
> Basically, you do not needconditional compilation. The *only* Java
> code which needs to change is the generated R.java file -- and even
> that you should be able to generate correctly, though I wasn't able to
> get it to work.
>
> It can all be done with an ant script. The manifest needs to be
> processed. It's helpful to process some resource files -- for example,
> to embed the version number, etc. XSLT is your friend here, it's much
> easier to manipulate XML than to deal with all the issues with
> preprocessing -- including completely screwing up line numbers, in
> most cases, but commenting out rather than omitting lines should avoid
> that!
>
> To avoid screwing up the debug cycle, I produce by default a dev
> version, which gives access to both free and pro functionality for
> test and debug.

Can you show us how you management these version?
Some piece of code... or a link to a full code will be wonderful.


--
Adorilson

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