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 25633] New: - macrodef should support default element node
Date Thu, 18 Dec 2003 18:44:18 GMT
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: dev@ant.apache.org
        ReportedBy: alexeys@inventigo.com


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


Mime
View raw message