Thanks thats great, I can cut out a fair bit iof code from some of the tasks
I've made !

On 17/10/2007, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> Matthew Haynes wrote:
> > That's great, I had made the mistake of assuming that the setSomething
> > methods needed a String.
> >
> > Does resolve other common types, DateFomat, int, etc ?
>
> Try them and see. The general rule is
>
>   -anything that takes a string constructor will be constructed before
> being added
>   -there is special support for various common Java or ant types: file,
> path, reference
>   -you can add your own types if you give them a string constructor
>   -if you overload a setter with a complex type and a string, the
> complex one gets picked
>
> -steve
>
>
>
> --
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to