ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: Should we drop the nested *ref elements?
Date Wed, 06 Sep 2000 11:00:25 GMT
> From: Stefan Bodewig [mailto:bodewig@bost.de]
> Sent: Wednesday, 6 September 2000 2:18
> To: ant-dev@jakarta.apache.org
> Subject: Should we drop the nested *ref elements?
> 
> 
> If we add refid attributes to FileSet and PatternSet as well, these
> could be superfluos, for example
> 
>      <chmod perm="+x">
>        <fileset dir="${bin.dir}">
>          <patternsetref refid="chmod.patterns"/>
>        </fileset>
>      </chmod>
> 
> could as well be written as
> 
>      <chmod perm="+x">
>        <fileset dir="${bin.dir}">
>          <patternset refid="chmod.patterns"/>
>        </fileset>
>      </chmod>
> 
> This might even be easier to read.
> 
> Some tasks would need to be changed but given that these things are
> quite new I don't fear to break anything. Comments?

+1 for me.

Conor


Mime
View raw message