This is the patch to fix Bug 24711. Could you try this? > The macro creator should be able to supply a description in the <element> > element informing the user what nested contents are expected.
Index: MacroDef.java =================================================================== RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/MacroDef.java,v retrieving revision 1.7.2.8 diff -u -u -r1.7.2.8 MacroDef.java --- MacroDef.java 22 Dec 2003 10:08:58 -0000 1.7.2.8 +++ MacroDef.java 27 Dec 2003 04:18:49 -0000 @@ -110,6 +110,8 @@ public static class NestedSequential implements TaskContainer { private List nested = new ArrayList(); + private String description; + /** * Add a task or type to the container. * @@ -124,6 +126,21 @@ */ public List getNested() { return nested; + } + + /** + * @param desc Description of the element. + */ + public void setDescription(String desc) { + description = desc; + } + + /** + * @return the description of the element, or <code>null</code> if + * no description is available. + */ + public String getDescription() { + return description; } /** -- Yuji Yamano <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]