ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [myrmidon] configurer changes
Date Tue, 22 Jan 2002 12:23:09 GMT
Hi,

Applied - thanks!

One thing though ...

On Tue, 22 Jan 2002 16:08, Adam Murdoch wrote:
> Hi,
>
> This patch adds bunch of minor features to the configurer:
>
> * Added max multiplicity checking.  Properties with a setter method can
> only be set once, whereas properties with an adder method can be set an
> unlimited number of times.
>
> * Resolves properties in reference ids.  e.g
>
>   <javac classpath-ref="${my-classpath-id-name}"/>
>
> * 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?

> * Created a unit test suite.  Added some tests for DefaultConfigurer.

Wooooohoooooooooooooo - Unit tests ;)

-- 
Cheers,

Pete

*------------------------------------------------------*
| Despite your efforts to be a romantic hero, you will |
| gradually evolve into a postmodern plot device.      |
*------------------------------------------------------*


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message