ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer ConfigurationState.java DefaultConfigurationState.java NoSuchPropertyException.java DefaultConfigurer.java DefaultObjectConfigurer.java DefaultPropertyConfigurer.java ObjectConfigurer.java PropertyConfigurer.java Resources.properties
Date Tue, 22 Jan 2002 12:19:46 GMT
On Tue, 22 Jan 2002 22:15, donaldp@apache.org wrote:
> donaldp     02/01/22 03:15:25
>
>   Modified:   
> proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer
> DefaultConfigurer.java DefaultObjectConfigurer.java
> DefaultPropertyConfigurer.java
>                         ObjectConfigurer.java PropertyConfigurer.java
>                         Resources.properties
>   Added:      
> proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer
> ConfigurationState.java
>                         DefaultConfigurationState.java
>                         NoSuchPropertyException.java

Submitted By: "Adam Murdoch" <adammurdoch_ml@yahoo.com>

of course ;)

>   Log:
>   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.
>
>   * Moved all per-object state behind the ConfigurationState interface. 
> The ObjectConfigurer is now responsible for state-based validation.
>
>   * Tidied-up error messages.  More context info is available in error
>   messages, to make figuring out the problem easier.  Error messages still
>   need work.
-- 
Cheers,

Pete

---------------------------------------------------------
Clarke's Third Law: "Any technology distinguishable from 
magic is insufficiently advanced".
---------------------------------------------------------


--
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