ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Fetzer <>
Subject Call a Macrodef using a property?
Date Wed, 30 Dec 2009 15:31:12 GMT
Is there any way to call a macrodef with the name of the macrodef held in a property?  Like
this (of course this doesn't work):

<project default="main">
  <target name="main">
    <property name="myProperty" value="myMac"/>
  <macrodef name="myMac">
      <echo message="I made it in"/>

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