> -----Original Message-----
> From: Peter Donald [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 22 January 2002 10:23 PM
> To: Ant Developers List
> Subject: Re: [myrmidon] configurer changes
> 
> > * Ignores String adder and setter methods, if other methods 
> exist.  Longer
> > term, the type should be able to specify exactly which method to use.
> 
> Is this really needed? Hopefully in ant2 the contract will be at the XML 
> representation level and thus we should be able to change from 
> setFoo(String) 
> to setFoo(FooType) without breaking builds ... or so goes the theory - 
> thoughts?
> 

This change was targeted at data-types, rather than tasks.  It is really just a 
stop-gap for dealing with String convenience methods.  For example:

Path.addPath( String path )
Path.addPath( Path path )

I don't think we want to prevent classes doing this.  However, it would be good 
to let the class have a say as to which overloaded method should be used by the 
configurer.  Maybe an @ant:ignore tag on the methods that the introspector 
should ignore.

How do you see types (or other tasks, for that matter) being used 
programmatically in ant2?


Adam


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to