> Not in current implementation. I dont like it much - using both id and
refid
> is little opaque...
>
> Better to introduce what you suggest in previous mail:
>  <fileset id="aaa">
>    <includes refid="aaa" />
>    <includes name="*.*" />
>  </fileset>

To be more readable, I would:

1. Make <fileset> fail on attempts to define fileset when fileset with the
specified "id" already exists.
2. Add overwrite="true" or redefine="true" to suppress this behaviour. Being
more verbose here is a good thing.

<fileset id="aaa">    <!-- fails -->
    <includes refid="aaa" />
    <includes name="*.*" />
</fileset>

<fileset id="aaa" redefine="true">    <!-- succeeds -->
    <includes refid="aaa" />
    <includes name="*.*" />
</fileset>

What do you think ?

Jarek



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to