Part of the problem here might be the platform version you are using.
For example, 1.6 and up seem to use out.dir while 1.5 uses out-folder,
Paul.

You can see which variables are being used by checking out the rules
file:

<SDK>/platforms/<target_platform>/templates/android_rules.xml

Hope that helps,
Ken


On Feb 8, 7:50 pm, paulbutcher <[email protected]> wrote:
> I'm building using Ant and trying to use build.properties to override
> some default values, and failing miserably. What am I missing?
>
> Here's what I've tried:
>
> 1) Create a project with:
>
> > android create project --target 1 --name MyAndroidApp --path 
> > ./MyAndroidAppProject --activity MyAndroidAppActivity --package 
> > com.example.myandroid
>
> 2) Add the following line to the bottom of build.properties:
>
> > out.dir=foo
>
> 3) Build with "ant debug"
>
> The output stubbornly still ends up in the bin directory.
>
> The comment in build.properties says:
>
> # You can use this to override default values such as
> #  'source.dir' for the location of your java source folder and
> #  'out.dir' for the location of your output folder.
>
> Which seems pretty straightforwards. What am I missing?
>
> Thanks in advance!
>
> paul.butcher->msgCount++

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