ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject Macrodef default for <element>
Date Mon, 01 Mar 2004 21:38:27 GMT
One can have a default for macrodef attributes, but not for elements, AFAIK.

Can it be added? Imagine I want to do something like:

<macrodef name="compile">
  <element name="resources">
    <include name=="**/*.properties" />
    <copy dir="src" todir="build/resources/@{name}">

So that the uses of the <compile> macro only have to specify a <resources>
element when a given use wants to override the default. Thanks, --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message