btw if you want to use our custom if task you can, the syntax is: <if condition="${build.debug}"><then>...</then><else></else></if>
For the next tools update we should probably rename our task to <androidif> to be sure it doesn't interfere with another if task. On Wed, Sep 22, 2010 at 7:21 AM, Xavier Ducrohet <x...@android.com> wrote: > We have our own <if> task since it's not standard. If you are using > another <if> task there may be a conflict (ours doesn't support this) > > On Sat, Sep 18, 2010 at 2:24 PM, Huey <ly.h...@gmail.com> wrote: >> Our project was built fine with SDK tool rev 6 and Ant version 1.7.1. >> After updating the SDK tool to rev 7 we start seeing error: >> >> if doesn't support the nested "istrue" element >> >> below is ant task has istrue: >> >> <taskdef name="setup" >> classname="com.android.ant.SetupTask" >> classpathref="android.antlibs"/> >> <if> >> <!-- This work fine with SDK tool Rev 6 --> >> <istrue value="${build.debug}"/> >> <then> >> <mkdir dir="${build.dist}/dbg_libs/"/> >> </then> >> <else> >> <mkdir dir="${build.dist}/rel_libs/"/> >> </else> >> </if> >> >> <setup /> >> >> -- >> 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. > > Please do not send me questions directly. Thanks! > -- 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 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