[Dart] Dart 1 : Add web links to build error

Miller, James V (GE, Research) millerjv at crd.ge.com
Tue Feb 14 15:33:04 EST 2006


Without modifying the server, I think you are out of luck.

If you are willing to modify the server, I would suggest looking at Test.xsl.
Test.xsl allows for NamedMeasurements.  One of the types "supported" there is
"url".  Can't recall if we ever tried it.



-----Original Message-----
From: dart-bounces+millerjv=crd.ge.com at public.kitware.com
[mailto:dart-bounces+millerjv=crd.ge.com at public.kitware.com]On Behalf Of
Julien Jomier
Sent: Monday, February 13, 2006 9:55 PM
To: 'dart at public.kitware.com'
Subject: [Dart] Dart 1 : Add web links to build error


Hello all,

I'm using Dart 1 and my build system returns a web link (<a href> ... 
</a>) when an error occurs. I'd like to see the link on the dashboard's 
HTML pages.

My Build.xml file looks like:

<Error>
     <BuildLogLine>1</BuildLogLine>
     <SourceFile>MyFile</SourceFile>
     <SourceLineNumber>378</SourceLineNumber>
     <Text>&#x03C;a href="index.html"&#x03E; Test &#x03C;/a&#x03E;</Text>
     ...
</Error>

I have modified a little bit the Build.xml file created so the HTML link 
can be parsed by XALAN. However, since the XSL sheet defines the tags 
<pre> </pre> around the <text>, the URL doesn't appear on the dashboard 
but rather the full text, i.e "<a href="index.html>Test</a>".
I tried to trick XALAN by adding a </pre> at the beginning of the text 
and I also tried the CDATA element without any luck.

I was wondering if some XML/XSL experts have an idea on how to make this 
works without modifying the server side processing.

Thanks,

Julien

_______________________________________________
Dart mailing list
Dart at public.kitware.com
http://public.kitware.com/mailman/listinfo/dart


More information about the Dart mailing list