Bug 40021 - junitreport does not generate html file for format noframes
Summary: junitreport does not generate html file for format noframes
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Optional Tasks (show other bugs)
Version: nightly
Hardware: All All
: P2 normal (vote)
Target Milestone: 1.7.0
Assignee: Ant Notifications List
URL:
Keywords: XSLTBug
Depends on:
Blocks:
 
Reported: 2006-07-11 21:45 UTC by Jan Cumps
Modified: 2006-07-13 08:54 UTC (History)
1 user (show)



Attachments
Contains a hint about the differences between frames and noframes reports (855 bytes, patch)
2006-07-12 18:10 UTC, Ivan Ivanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Cumps 2006-07-11 21:45:14 UTC
When testing the junitreport task from fresh ant build from svn, I do not get 
an html report when selecting the format noframes.
When the frames format is used, the task works. Then it creates the html files.

This still worked for a svn checkout of approx. 10 days ago.
It first failed in the checkout I did yesterday june 10.

My taskdef looks like this:
    <junitreport >
      <fileset dir="${test.result.dir}">
        <include name="TEST-*.xml"/>
      </fileset>
      <report format="noframes" todir="."/>
    </junitreport>


The ant log displays no errors:
[junitreport] Loading stylesheet jar:file:/C:/sandbox_ant/ant/ant-
trunk/dist/lib
/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-
noframes.
xsl
[junitreport] Transform time: 687ms
[junitreport] Deleting: C:\DOCUME~1\JANCUM~1\LOCALS~1\Temp\null1771508224

But it doesn't seem to generate the report.
Comment 1 Jan Cumps 2006-07-11 21:55:09 UTC
Typo: "june 10" has to be "july 10".
Comment 2 Antoine Levy-Lambert 2006-07-12 17:31:18 UTC
Thanks for reporting the bug. It is now fixed. Regards, Antoine.
Comment 3 Ivan Ivanov 2006-07-12 18:09:12 UTC
I am attaching a patch to the junitreport documentation.
Comment 4 Ivan Ivanov 2006-07-12 18:10:25 UTC
Created attachment 18594 [details]
Contains a hint about the differences between frames and noframes reports
Comment 5 Antoine Levy-Lambert 2006-07-12 19:04:21 UTC
Thanks Ivan. 
Comment 6 Jan Cumps 2006-07-13 15:54:49 UTC
Tested with fresh checkout from svn: it's fixed.
Thank you very much.