Hello all,

I have a legacy application and need to split it into a library
project (common code) and two application projects (paid and free
applications). I don't use Eclipse for development, and also don't use
Ant builds provided (generated) by Android SDK (there are several
reasons for that), but use our custom build files instead.

I need to modify my Ant builds to make them build my applications
projects that refer my library project. I looked into sample
application and Ant builds shipped with SDK, but didn't understand how
it is done. I saw that library project contains "libs" directory and
"default.properties" file with "android.library" property set to
"true". I saw that applications project contains "default.properties"
file with "android.library.reference.X" property set to library
project directory value. But I didn't find any reference to these
properties in the Ant builds (project Ant build file, and Ant builds
shipped with SDK). Just placing these files into application/library
project directories doesn't help, i.e. SDK tools doesn't interpret
them.

My guess is that this is performed by com.android.ant.SetupTask, but
I'd like to know how it is performed. My build is set of targets that
call (using exec) Android SDK tools: appt, dx, apkbuilder and so on.
So I'd like to know which command line parameters I need to use to
make, lets say, appt tool to merge resources?

Thank you in advance.

--
Best regards,
Andriy.

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