<project default="type"> | |
<macrodef name="eclipseMacro"> | |
<attribute name="v" default="NOT SET" /> | |
<attribute name="eclipse" default="yes" description="Testing Eclipse"/> | |
<element name="some-tasks" optional="yes" /> | |
<sequential> | |
<echo>Eclipse!: @{v}</echo> | |
</sequential> | |
</macrodef> | |
<target name="type"> | |
<eclipseMacro v="This is v"> | |
</eclipseMacro> | |
<eclipseMacro v="This is v2"/> | |
<eclipseMacro v="This is v3"/> | |
<eclipseMacro v="This is v4"/> | |
<eclipseMacro/> | |
</target> | |
</project> |