ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Reserved XML tags?
Date Wed, 14 Feb 2001 08:32:19 GMT
Conor MacNeill <conor@cortexebusiness.com.au> wrote:

> OK, I will change to <tarfileset>. 

Nice, thanks 8-)

> I think the principle we have established is that the Ant-Dev tasks
> should not violate the unwritten DTD, if I could put it that way :-)

Agreed.

One more argument I have recently discovered: When we have a nested
<fileset> anywhere, that is actually implemented by something other
than org.apache.tools.ant.types.FileSet, you cannot use a fileset
defined elsewhere by reference, say like

<fileset id="myfiles" dir="..." />

<target>
  <task>
    <fileset refid="myfiles" />
  </task>
</target>

this won't work if task.fileset is something other than a FileSet -
unless task.fileset applies some special magic here.

Would be quite confusing.

Stefan

Mime
View raw message