> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > On Tue, 29 Apr 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > > Rather than (to take a perverse example) > > <condition> > > <os type="outofdate"> > > <targetfiles... > > </condition> > > Ouch. I'd rather envision > > <condition> > <condition type="outofdate" ... > > with a new public addCondition(Condition) method. The duplication of > Condition is pure incidence, the one in the method name determines the > element name, the argument the acceptable types. >
This continues with the two-tier issue, the core conditions of ANT you can just named, but the third party ones need to use some funny syntax. This is one of the things I was trying to get rid of. The whole point of roles is to put everyone on the same footing. > > This could be stopped by having two new introspection rules: > > One new rule should be enough, and will be enough no matter which > route we are going to take. > > > But this does mean changing public methods > > No way. 8-) > Agreed. Jose Alberto