Use an Android library project:

http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

It will not get down quite to the level you seek, but fairly close.

Or, write yourself a shell script/Java program/Ruby program/whatever
to clone the project and apply your changes.

On Sun, Dec 19, 2010 at 7:16 AM, Utumno <[email protected]> wrote:
> Hello Android gurus,
>
> I would like to build 2 versions ( free and paid ) of my app from the
> same source. Both should be installable at the same time.
>
> Here's (hopefully) the full list of differences between the two:
>
> - android:icon
> - android:label
> - value of one constant in the code
> - and since both should be simultaneously installable, I guess I will
> need to change the namespace, too.
>
> What do you recommend? Any automatic solutions to this ( I guess
> fairly common ) problem?
>
> I am aware of custom Ant scripts ( like in
> http://java.dzone.com/articles/building-two-versions-same ) however,
> any way to configure it in Eclipse?
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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