ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs StyleTest.java
Date Fri, 16 Apr 2004 08:45:57 GMT
Hi Stefan,
It is probally not too important, but the createMapper may
be replaced by an addMapper(Mapper) method in ant 1.6.
- This allows use of the ant-type type override.

Peter
bodewig@apache.org wrote:

>   
>       /**
>  +     * Defines the mapper to map source to destination files.
>  +     * @return a mapper to be configured
>  +     * @exception BuildException if more than one mapper is defined
>  +     * @since Ant 1.6.2
>  +     */
>  +    public Mapper createMapper() throws BuildException {
>  +        if (mapperElement != null) {
>  +            throw new BuildException("Cannot define more than one mapper",
> 
>


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


Mime
View raw message