On 3/7/06, Bryan Pendleton <[EMAIL PROTECTED]> wrote: > Andrew McIntyre wrote: > > Well, unless > > it actually lets you redefine <javac>... > > I believe it does, though Ant will then give you a warning message.
It seems like this might break, or at least lead to unexpected results on occasion, when building at the leaf level, if the <presetdef> is only in the top-level file. You could put the <presetdef> in every build.xml, but then why not just add target="1.4" to all the <javac>s? Don't know how I feel about that, I'd have to play around with it to see how it actually works. Thanks for pointing out <presetdef> though, good to know. andrew
