There should be a comment in build.xml that explains you how to do this.

See line 57 in 
http://android.git.kernel.org/?p=platform/sdk.git;a=blob;f=templates/build.template;h=3959c570fdaff9409e4b139e89fdeb2855b7099b;hb=master#l57
(this is the template used to generate build.xml)

Xav

On Wed, Apr 28, 2010 at 1:27 PM, Hadmut Danisch <[email protected]> wrote:
> Hi,
>
> I am just starting with android software development and ran into a problem:
>
> I'd like to extend the ant build file for additional tasks (e.g.
> generate graphics, or use a scala compiler instead of a java compiler).
>
>
> The build.xml generated by the android sdk is rather short, the
> extensions linked in reads the
>
> android-sdk-linux_86/platforms/android-x/templates/android_rules.xml
>
>
> I could achieve what I wanted to do by modifying the android_rules.xml
> file, but obviously it is not a good idea to modify the files belonging
> to the sdk. Unfortunately I did not yet find a way to extend or override
> tasks given in the sdk in the local build.xml file.
>
> What is the intended method to extend the build process without
> modifying the sdk files?
>
>
> regards
> Hadmut
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Android Discuss" 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-discuss?hl=en.
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en.

Reply via email to