I think we are almost right there but, as anyone that
has used a macro languange, I think we are missing
the well known "ifdef" directive of most macro languajes.

This by the way is what others have already asked for.

Noticed that you cannot do this with a regular task, instead it needs
to be process by "macrodef" itself, so it has access to its metadata.

<macrodef name="a">
  <element name="foo"/>
  <sequential>
    <javac ...../>
    <ifdef element="foo">
      <javac ...>
        <foo/>
      </javac>
    <ifdef>
    <ifndef element="foo">
      <echo message="What? no foo :-("/>
    </ifndef>
  </sequential>
</macrodef>

That would give a more round functionality.

Jose Alberto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to