DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19446>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19446

NestedElement: Support for script defined element tags

           Summary: NestedElement: Support for script defined element tags
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


See http://marc.theaimsgroup.com/?t=105138763000003&r=1&w=2
for a discussion on the issues.
See http://marc.theaimsgroup.com/?l=ant-dev&m=105154927101116&w=2
for the proposed solution.
The patch partially implements the proposed solution.
The differences are
  1) the name of add() has been changed to
     nestedElement (mainly to make it easy to grep for, and the
     add() method name does clash with Collection useage).
  2) the patch does not implement the configured form
  3) the <component/> task is not implemented

The patch is a tared gzip file containing the files:
  nestedelement.diff
    The patch file generated using cvs diff -u
  src/testcases/org/apache/tools/ant/types/NestedElementTest.java
     code used by IntrospectionHelper to search and invoke 
  src/etc/testcases/types/nestedelement.xml
  src/main/org/apache/tools/ant/NestedElementHelper.java
     test cases

The patched files are:

src/main/org/apache/tools/ant/IntrospectionHelper.java
     Modes to suport nestedElement
src/main/org/apache/tools/ant/types/Path.java
     add nestedElement()
src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
    add nestedElement()
src/main/org/apache/tools/ant/types/FilterChain.java
    convert dynamic conf to nestedElement()
src/main/org/apache/tools/ant/filters/TokenFilter.java
    convert dynamic conf to nestedElement()
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java
    add nestedElement()
src/main/org/apache/tools/ant/types/selectors/BaseSelectorContainer.java
    add nestedElement()
src/main/org/apache/tools/ant/taskdefs/MatchingTask.java 
    add nestedElement()
src/main/org/apache/tools/ant/types/AbstractFileSet.java
   add nestedElement()

Hopefully I did not leave any files out ....

Peter

Reply via email to