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

