ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55971] if:true doesn't work with macrodef
Date Wed, 08 Jan 2014 20:26:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55971

--- Comment #1 from Gilbert Rebhan <mailforgilbert@gmx.de> ---
Also this doesn't work :

<macrodef name="foobar" if:true="foo">
 <attribute name="bla"/>
 <sequential>
   <echo>@{bla}</echo>
 </sequential>
</macrodef>

 <echo>${ant.version}</echo>
 <foobar bla="yada,yada"/>

output :

... Problem: failed to create task or type foobar
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message