It works for me , but then again I have a customized build. May be the default rules (android_rules.xml) override the property. Import the rules as documented in build.xml and give it a try....
On Feb 9, 9:20 am, Bob Kerns <[email protected]> wrote: > It doesn't work for me, either, but I've got to get my daughter to bed > so can't look at it in detail at the moment. (I *will* have to tackle > this shortly, however, to get my own product out the door!) > > One thing to keep in mind: Once an ant property is set, it can NEVER, > EVER be changed. > > (There are some add-on tasks available to modify that, but that's very > much outside the model and intent for ant. Not one I entirely agree > with, but important to understand). > > Anyway, keep in mind that in ant, "first definition wins". > > Let us know if you find the solution/answer before I do. > > On Feb 8, 4: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

