Hi there,
I just tried to figure out the build.xml from the SDK 1.5. I used
"android update project" an an existing project and got a very short
build.xml. When I strip out all the comments, this is what's left:

<?xml version="1.0" encoding="UTF-8"?>
<project name="com.webxells.ourproduct" >
     <property file="local.properties"/>
     <property file="build.properties"/>
     <property file="default.properties"/>
     <path id="android.antlibs">
        <pathelement path="${sdk-location}/tools/lib/anttasks.jar" />
        <pathelement path="${sdk-location}/tools/lib/sdklib.jar" />
        <pathelement path="${sdk-location}/tools/lib/
androidprefs.jar" />
        <pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" /
>
        <pathelement path="${sdk-location}/tools/lib/jarutils.jar" />
    </path>
    <taskdef name="setup" classname="com.android.ant.SetupTask"
classpathref="android.antlibs"/>
    <setup />
</project>

The documentation tells me to call "ant debug" or "ant release". As
far as I know, "debug" and "release" must be the names of targets in
this build.xml, but the build.xml does not contain any target at all.
I would expect to get a message like "Target "debug" does not exist in
the project", but to my big surprise, it works and does something.

Anyway, compilation fails for several reasons. If I knew where the
<javac> task is called, I knew which parameters to add to fix it, but
I can't find it anywhere in this small build.xml. There are many other
things I'd like to customize, but I just don't get where to find them.

thanks for your answers,
Brian
--~--~---------~--~----~------------~-------~--~----~
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