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 WHATSNEW
Date Thu, 26 Feb 2004 09:37:09 GMT
Stefan Bodewig wrote:

>On 24 Feb 2004, <peterreilly@apache.org> wrote:
>
>  
>
>>  Throw build exception if name attribute is missing in a patternset
>>    
>>
This should be pattern or patternset#nameentry, it is used for "include" 
and "exclude"
includesfile and excludesfile nested elements.

>
>what about <patternset refid="foo"/>?
>  
>
This is fine...

  <patternset id="xml.pattern">
    <include name="**/*.xml"/>
  </patternset>
  <copy todir="classes">
    <fileset dir="src">
      <patternset refid="xml.pattern"/>
    </fileset>
  </copy>

works ok.
Peter



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


Mime
View raw message