ASF Bugzilla – Attachment 10134 Details for
Bug 24711
[PATCH] macrodef child elements should use their description attributes in error messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
new diffs to the macrodef test case Ant file
macrodef.xml.diffs (text/plain), 1.79 KB, created by
Matt Benson
on 2004-01-28 23:43:17 UTC
(
hide
)
Description:
new diffs to the macrodef test case Ant file
Filename:
MIME Type:
Creator:
Matt Benson
Created:
2004-01-28 23:43:17 UTC
Size:
1.79 KB
patch
obsolete
>--- src/etc/testcases/taskdefs/macrodef.xml 2004-01-28 17:39:56.000000000 -0600 >+++ macro/macrodef.xml 2004-01-28 17:37:20.000000000 -0600 >@@ -145,4 +145,63 @@ > </sequential> > </macrodef> > </target> >+ >+ <target name="attribute-no-description"> >+ <macrodef name="attributemacro"> >+ <attribute name="requiredattribute" /> >+ <sequential> >+ <echo>@@{requiredattribute}=@{requiredattribute}</echo> >+ </sequential> >+ </macrodef> >+ <attributemacro /> >+ </target> >+ >+ <target name="-attribute-macro"> >+ <macrodef name="attributemacro"> >+ <attribute name="requiredattribute" description="required attribute" /> >+ <sequential> >+ <echo>@@{requiredattribute}=@{requiredattribute}</echo> >+ </sequential> >+ </macrodef> >+ </target> >+ >+ <target name="attribute-description1" depends="-attribute-macro"> >+ <attributemacro requiredattribute="A-OK!" /> >+ </target> >+ >+ <target name="attribute-description2" depends="-attribute-macro"> >+ <attributemacro /> >+ </target> >+ >+ <target name="element-no-description"> >+ <macrodef name="elementmacro"> >+ <element name="requiredelement" /> >+ <sequential> >+ <requiredelement /> >+ </sequential> >+ </macrodef> >+ <elementmacro /> >+ </target> >+ >+ <target name="-element-macro"> >+ <macrodef name="elementmacro"> >+ <element name="requiredelement" description="nested element" /> >+ <sequential> >+ <requiredelement /> >+ </sequential> >+ </macrodef> >+ </target> >+ >+ <target name="element-description1" depends="-element-macro"> >+ <elementmacro> >+ <requiredelement> >+ <echo>A-OK!</echo> >+ </requiredelement> >+ </elementmacro> >+ </target> >+ >+ <target name="element-description2" depends="-element-macro"> >+ <elementmacro /> >+ </target> >+ > </project>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24711
:
10067
|
10068
|
10069
|
10132
|
10133
| 10134 |
10135
|
10136
|
10137