ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36803] New: - Macro elements dont include text
Date Sat, 24 Sep 2005 21:23:22 GMT
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=36803>.
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=36803

           Summary: Macro elements dont include text
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: stevel@apache.org


I dont know if this is intentional or not, but I dont see any evidence that we
are passing down text to elements in a macro. Test:

<macrodef name="exml" uri="http://antbook.org/d1/ext">
  <element name="files" optional="false"/>
  <sequential>
    <echoxml><x><files/></x></echoxml>
  </sequential>
</macrodef>

and 

  <target name="exml" >
    <ext:exml>
      <files>
        text
        <fileset dir="." includes="*.xml" />
      </files>
    </ext:exml>
  </target>

results in 
exml:
<?xml version="1.0" encoding="UTF-8"?>
<x>
  <fileset dir="." includes="*.xml" />
</x>

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message