How can I get a HTML report with frames?
NickDeGraeve <[email protected]> Thu, 3 Sep 2009 07:16:16 -0700 (PDT)
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to generate an HTML report with frames but I fail: I just get an
empty file.
I can have a simple report (checkstyle-simple.xsl) or a report without
frames (checkstyle-noframes.xsl) but when I use checkstyle-frames.xsl I get
no output.
What am I doing wrong?
JDK 1.6.0_15
Ant 1.7.1
Checkstyle 5.0
Extract of my build.xml:
<target name="run-checkstyle">
<mkdir dir="${dir.reports.checkstyle}"/>
<checkstyle config="${dir.checkstyle}/sun_checks.xml" failonviolation="no">
<fileset dir="${dir.src}" />
<formatter type="xml" toFile="${dir.reports.checkstyle}/checkstyle.xml"/>
</checkstyle>
<mkdir dir="${dir.reports.checkstyle.html}"/>
<xslt in="${dir.reports.checkstyle}/checkstyle.xml"
out="${dir.reports.checkstyle.html}/cs_noframes.html"
style="${dir.checkstyle}/contrib/checkstyle-noframes.xsl"/> <!--OK-->
<xslt in="${dir.reports.checkstyle}/checkstyle.xml"
out="${dir.reports.checkstyle.html}/cs_frames.html"
style="${dir.checkstyle}/contrib/checkstyle-frames.xsl"/><!--Empty HTML-->
</target>
Console log:
Buildfile: C:\Dvl\java\gtsc\framework4\build.xml
run-checkstyle:
[checkstyle] Running Checkstyle 5.0 on 25 files
[xslt] Processing
C:\Dvl\java\gtsc\framework4\reports\checkstyle\checkstyle.xml to
C:\Dvl\java\gtsc\framework4\reports\checkstyle\html\cs_noframes.html
[xslt] Loading stylesheet
c:\checkstyle-5.0\contrib\checkstyle-noframes.xsl
[xslt] Processing
C:\Dvl\java\gtsc\framework4\reports\checkstyle\checkstyle.xml to
C:\Dvl\java\gtsc\framework4\reports\checkstyle\html\cs_frames.html
[xslt] Loading stylesheet
c:\checkstyle-5.0\contrib\checkstyle-frames.xsl
BUILD SUCCESSFUL
Total time: 1 second
--
View this message in context: http://www.nabble.com/How-can-I-get-a-HTML-report-with-frames--tp25275241p25275241.html
Sent from the CheckStyle - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july