Right now, your only choice is to duplicate the whole "compile" target into your build.xml file.
Copy it before the call to the custom task <setup>, and edit the parts you want (in this case the encoding). Xav On Fri, Sep 24, 2010 at 7:30 AM, petter <petter.gus...@gmail.com> wrote: > templates/android_rules.xml has a javac rule which says: > > <javac encoding="ascii" ... > > How can I override this to use UTF-8 from my own build.xml file? It > seems like one should be able to use presetdef to override this, but I > can't figure out how. > > //Petter > > -- > 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! -- 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