ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25633] - macrodef should support default element node
Date Tue, 25 May 2004 12:16:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25633>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25633

macrodef should support default element node





------- Additional Comments From peter.reilly@corvil.com  2004-05-25 12:16 -------
Usage:
    <macrodef name="showfiles">
      <attribute name="property"/>
      <element name="files" implicit="yes"/>
      <sequential>
        <pathconvert property="@{property}" pathsep=":">
          <path>
            <files/>
          </path>
        </pathconvert>
        <echo message="${@{property}}"/>
      </sequential>
    </macrodef>
   
    <showfiles property="x">
      <fileset dir="." includes="*.xml"/>
    </showfiles>
  </target>

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


Mime
View raw message