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 <[email protected]> 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 [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 > -- 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 [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

