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 39708] New: - Modify <junitreport> task to support nested parameters that will be passed to the underlying XSLT transformation
Date Fri, 02 Jun 2006 16:19:34 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=39708>.
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=39708

           Summary: Modify <junitreport> task to support nested parameters
                    that will be passed to the underlying XSLT
                    transformation
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: rambiusparkisanius@yahoo.com


The html reports produced by <junitreport> are done via an XSLT transformation.
Sometimes it is nice to pass parameters to that transformation - as the date of
the unit test execution or simple the name of the application being tested like
this:

<junitreport todir="./reports">
  <fileset dir="./reports">
    <include name="TEST-*.xml"/>
  </fileset>
  <report format="frames" todir="./report/html"/>
  <param name="name1" expression="value1"/>
  <param name="name2" expression="value2"/>
</junitreport>

The most easiest way to perform this is to change <junitreport> task to use
<xslt> task, which already supports nested params.

-- 
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