ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Amerige <Steve.Amer...@sas.com>
Subject Macrodef and If
Date Tue, 08 Nov 2011 15:46:04 GMT
I'd like to do something like:

    <if>
    <mymacrodef/>
    <then>
         ...
    </then>
    </if>

    <macrodef name="mymacrodef">
    ...
    </macrodef>


Within the macrodef, there would be places it would return true and other places it returns
false.  I want the solution to be wholly 
in Ant (no Java, Groovy, external file use, etc.).

Is it possible?  If so, can you show an example of how the mymacrodef would be coded?

Thanks!
Steve Amerige
SAS Institute, Deployment Software Development

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message