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=25633>.
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=25633

macrodef should support default element node

           Summary: macrodef should support default element node
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Currently I have to put macro subnodes into additional argument node in order 
to make them work with macrodef. It would be much better to have an ability to 
use all macrodef instance subnodes directly. For example:

  <macrodef name="jython">
    <attribute name="script"/>
    <element name=""/>
    <sequential>
      <java classname="org.python.util.launcher" failonerror="true">
        <arg file="@{script}"/>
        <elements/>
      </java>
    </sequential>
  </macrodef>

  <jython script="script.jy">
    <arg value="${package}"/>
    <arg file="${outpath}"/>
  </jython>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to