--- Henri Yandell <[EMAIL PROTECTED]> wrote: > On 7/14/06, Steve Loughran <[EMAIL PROTECTED]> > wrote: > > Henri Yandell wrote: > > > Reading the presetdef manual page, it sounds > like it's not what I want > > > because it only sets defaults and not mandated > values. I don't want to > > > allow the build.xml to change the settings. > > > > Well, if you are being really ruthless, you could > subclass junit, and > > have a distro with a modified properties file > defining the junit typedef > > and pointing at your subclass. The subclass gets > to enforce its own rules... > > Yeah, that's what I was originally going to do. I > got excited when I > realised that not only could I use -listener to hack > it, I could > possibly do it in such a way that I had some kind of > AspectAnt that > would let me modify Ant on the fly for other tasks. > > Is that going to be impossible for subtags, or do I > just need to grok > how UnknownElements work etc?
Am I being dense here? I haven't grasped why you need to use UEs instead of using task/type classes directly. The UnknownElement is generally an artifact of Ant's XML configuration mechanism and can (should) be bypassed in programmatic Ant usage. -Matt > > Hen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]