Fwd: Re: [icedtea-web] xml output for junit, transformation sheets for daily report
Dr Andrew John Hughes
ahughes at redhat.com
Wed May 11 14:21:49 PDT 2011
On 17:06 Wed 11 May , Jiri Vanek wrote:
> On 05/11/2011 03:52 PM, Dr Andrew John Hughes wrote:
> > On 14:51 Wed 11 May , Jiri Vanek wrote:
> >> ..snip..
> >>>
> >>>> *index.html: file which provides runtime transformation
> >>>> of tests-output.xml and report.xml
> >>>> * tests/styles/index.js: runtime transformation script and fast
> >>>> navigation functions
> >>>
> >>> I think the transformation should be preformed by make as part of producing index.html,
> >>> rather than having browser-specific hacks.
> >>>
> >>
> >> Not exactly. My "task" ..or.. my "desire".. was to produce full,
> >> reusable report from testsuite. And this is XML (one for unit tests, one
> >> for reproducers-tests). It will be used for anything we will want to
> >> mine from results. (For now I'm aware about hystory, view of single run
> >> and graphs and statistics). The sheet is designed to view the report in
> >> human readable way for the single run. . It will be used to generate
> >> htmls on torment. But the generation itself should not be in
> >> icedtea-web (makefile).
> >
> > Yes, it should, if the XML is being produced by make. It's unintuitive for
> > the index.html.in to be transformed to something that isn't the final HTML,
> > but requires a further transformation.
> >
>
> Still I must disagree. Add dependences to xalan-xercess is is quite big
> step. And especially those two caused troubles in recent icedtea6 build
> under f15. I do not want to provide result html after build. I would
> like to provide results (xml) and some basic opinion to view them quicly
> and comfortably.
Oh, I certainly wasn't thinking of Xalan/Xerces when there is either xsltproc
or in-tree JDK support. Xalan/Xerces is used in IcedTea6 purely for
bootstrap support and I intend to replace it with xsltproc.
> For daily report will be used xslt x xml on torment, so only resulted
> html will be shown. Xml itself will be used also for statistics.
>
> Included runtime transformation should serve to develloper just as
> "preview" of data after control build.
> >> On the other way the sheet prove itself useful when hunting bugs. So I
> >> decide to include the html skeleton which provide fast access to tests`
> >> results using xslt transformation...
> >> Btw - its not an hack:) The mozzila (and company) behaviour is following
> >> w3c specification for this thing. Although... yes IE part is hack :-/.
> >> So I'm willing to remove it (As i do not like M$ manners to :) ... ) but
> >> no one ever knows...
> >>
> >
> > No, I believe the standard is to include:
> >
> > <?xml-stylesheet href="templates/project.xsl" type="text/xsl" ?>
> >
> > in the XML.
>
> This will bound the xml to one concrete sheet. This means that when you
> want several points of view to data (several xslt upon one XML) then you
> need to have same number of XMLs. Also you will lost possibility to show
> both reports simultaneously.
>
Ok.
> As mentioned at the top, index.html is overview after make check and
> make distcheck - especially for the one who made the build.
>
I still think something like xsltproc to generate the final HTML
would be preferable. Doing things in web pages tends to be horrible
to support across multiple browsers.
> >
> > Displaying the results should not require Javascript.
> >
> True. Still the javascript is included in final html (although it is not
> required - all traces are visible then) for hide/show full stack traces.
> >>
> >> ..snip..
> >>
> >>
>
> huh.. I hoped I described my point of view clearly (As I do not belive
> my english :D )
>
I think so. Unfortunately, I can't read your mind to verify this ;-)
> >> Regards J.
> >
>
> It Is very sad you did not mentioned your dislike to runtime
> transformation after initial email (04/29/2011) (directly:
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-April/013904.html
> and
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-May/013983.html)
> and draft in java-team even ore before. Now it cause unnecessary troubles:(
>
I didn't see this post. My mailer shows the thread as started May 9th.
Maybe it got buried during the time I was away with all the UK bank holidays.
I do remember the internal post and said at the time I wouldn't reply internally.
>
> Regards J.
>
>
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
More information about the distro-pkg-dev
mailing list