ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: cvs commit: jakarta-ant/src/etc/testcases/taskdefs available.xml
Date Thu, 03 May 2001 08:18:11 GMT
Diane Holt <> wrote:

> --- Stefan Bodewig <> wrote:
>> <> wrote:
>> >   Added a "type" attribute instead, which works with the "file"
>> >   attribute to specify either a file or a directory.
>> I'd suggest to make this attribute accept file|dir|both and default
>> to "both" - looks cleaner than making non-set a magic value.
> But then we're back to b-c issues,

Not if we make "both" the default value - behavior would be the same
as now, you don't specify type and everything is as it would have been
in 1.3.  

The main advantage is that I could explicitly say type="both", if I
want to, instead of not setting this attribute at all.


View raw message