DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32725>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32725 Summary: Default value for macrodef element parameter Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Currently, elements of a macrodef cannot have default values, even though attributes can have them. It would be nice if I can write something like: <macrodef name="foo"> <element name="a" optional="true"> <some /> <tasks /> </element> <sequential> ... </sequential> </macrodef> so that the following two invocations would be equivalent: <foo> <a> <some /> <tasks /> </a> </foo> <foo /> <!-- the nested 'a' element defaulted --> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]