Maybe a modification of the stylesheet would help. Copy
ANT/src/etc/junit-frames.xsl
+ junit-noframes.xsl to your project, modify them and specify the <junitreport
styledir=""/>
E.g. in junit-frames.xsl line 221 could be interesting:
*.xsl:0202: <script type="text/javascript"
language="JavaScript"><![CDATA[
*.xsl:0203: function displayProperties (name) {
*.xsl:0204: var win =
window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
*.xsl:0205: var doc = win.document;
*.xsl:0206: doc.open();
*.xsl:0207: doc.write("<html><head><title>Properties of " + name +
"</title>");
*.xsl:0217: doc.write("<h3>Properties of " + name + "</h3>");
*.xsl:0219: doc.write("<table class='properties'>");
*.xsl:0220: doc.write("<tr><th>Name</th><th>Value</th></tr>");
*.xsl:0221: for (prop in TestCases[name]) {
Maybe an if statement around this
*.xsl:0222: doc.write("<tr><th>" + prop + "</th><td>" +
TestCases[name][prop] + "</td></tr>");
line could be enough.
*.xsl:0223: }
*.xsl:0224: doc.write("</table>");
*.xsl:0225: doc.write("</body></html>");
*.xsl:0226: doc.close();
*.xsl:0227: win.focus();
*.xsl:0228: }
*.xsl:0229: ]]>
*.xsl:0230: </script>
Jan
>-----Ursprüngliche Nachricht-----
>Von: Michael Giroux [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 24. Juni 2005 00:38
>An: [email protected]
>Betreff: JUNITREPORT ANT Task Suggestion
>
>Not sure if this is the correct place to post this, let me
>know if I shouold post to Apache ANT list.
>
>The ANT JunitReport task includes all properties that were
>defined at the time of the test. If any of these properties
>contain security information (userid, password, ...) that was
>needed for any part of the overall build, these values become
>public information when the JunitReport is published.
>
>Suggestion:
>JunitReport should take a nested element, perhaps regular
>expressions, that allow the developer to filter/remove
>individual properties so they do not appear in the generated
>HTML documents.
>
>Current Avoidance:
>I'm using <replaceregexp> ANT task to modify the input xml
>files for now.
>
>Michael Giroux
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED] For
>additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]