The Android build system is complex. Much more than a regular Java app.
Because of this and because we update it regularly, the build.xml generated
for your project is very minimum and mostly lets you add steps between the
existing ones. The rest is done by importing a rules files from the SDK.
Because of this there's no real documentation. You can certainly take the
imported rules files and put it in your project's build.xml but then you're
on your own.

What Eclipse projects do you have? Are they regular Java projects? android
projects? If you use Java projects referenced by an Android projects you'll
need to build those separately (with a normal ant file) and have their
output go in the android project libs folder.

Xav



On Tue, Feb 22, 2011 at 12:26 PM, Bret Foreman <bret.fore...@gmail.com>wrote:

> I've been browsing through the build.xml files of different examples found
> online and there does not appear to be any consistent standard for how the
> build environment is organized. The "android" tool appears to manage/modify
> part of the build.xml file and then other parts are intended to be modified
> by hand. But the documentation for the "android" tool is about 6 lines long.
>
> I have a fairly complex set of Eclipse projects that I am trying to convert
> to Ant builds but I can't find any documentation for how to perform that
> kind of work. Does anyone know of a porting tutorial from Eclipse build to
> Ant build?
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to