On 3/7/06, Bryan Pendleton <[EMAIL PROTECTED]> wrote: > > Can you use <presetdef> for this? It lets you override/extend tasks and > provide additional parms, etc. > > http://ant.apache.org/manual/CoreTasks/presetdef.html > http://stefan.samaflost.de/blog/en/Apache/Ant/customization_and_user_preferences_with_presetdef.writeback
Nice! That looks like the templated task feature I was referring to. I missed that it was added in 1.6. But, looking at how they implemented it, it doesn't necessarily make this any easier. You'll still need to update all the build.xml files to use the new presetdef task instead of vanilla <javac>. Well, unless it actually lets you redefine <javac>... andrew
