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" />
    ...
  </element>
  <sequential>
    ...
    <copy dir="src" todir="build/resources/@{name}">
      <resources/>
    </copy>
  </sequential>
</macrodef>

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to