sbailliez 02/01/31 16:26:33
Modified: docs/manual/OptionalTasks maudit.html mmetrics.html
Log:
Fix some documentation issues.
Revision Changes Path
1.5 +7 -14 jakarta-ant/docs/manual/OptionalTasks/maudit.html
Index: maudit.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/maudit.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- maudit.html 10 Jan 2002 08:48:31 -0000 1.4
+++ maudit.html 1 Feb 2002 00:26:33 -0000 1.5
@@ -8,7 +8,6 @@
<body>
<h2><a name="maudit">MAudit</a></h2>
-<p>by</p>
<ul>
<li>Stephane Bailliez (<a href="mailto:[EMAIL PROTECTED]">[EMAIL
PROTECTED]</a>)</li>
</ul>
@@ -102,7 +101,7 @@
</classpath>
<sourcepath>
<pathelement
location="c:/metamata/examples/auditexamples"/>
- </classpath>
+ </sourcepath>
<fileset dir="c:/metamata/examples/auditexamples">
<include name="*.java"/>
<fileset>
@@ -112,20 +111,14 @@
and fix automatically the fixable errors.
</p>
<h3>Generating a report</h3>
-As a convenience, there is an XSL file(maudit-frames.xsl) that allows you to
generate a full framed HTML report of the metrics.
-You can find it in the <i>etc</i> directory of Ant. As it uses the Xalan
extensions, you will need
-BSF, Xalan and Xerces to run it. The stylesheet takes an <i>output.dir</i>
parameter (otherwise it will be generated
+As a convenience, there is an XSL file(mmetrics-frames.xsl) that allows you
to generate a full framed HTML report of the metrics.
+You can find it in the <i>etc</i> directory of Ant. As it uses the Xalan
redirect extensions, you will need Xalan and Xerces to run it.
+The stylesheet takes an <i>output.dir</i> parameter (otherwise it will be
generated
in the current directory), it can be run in Ant as follows:
<pre>
-<java classname="org.apache.xalan.xslt.Process">
- <param value="-IN"/>
- <param value="${metrics.xml}"/>
- <param value="-XSL"/>
- <param value="maudit-frames.xsl"/>
- <param value="-PARAM"/>
- <param value="output.dir"/>
- <param value="&quot;'${report.dir}'&quot;"/>
-</java>
+<style in=java "${audit.xml}"
style="maudit-frames.xsl" out="null.tmp">
+ <param name="output.dir"
expression="${report.dir}quot;/>
+</style>
</pre>
<hr>
1.5 +6 -13 jakarta-ant/docs/manual/OptionalTasks/mmetrics.html
Index: mmetrics.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/mmetrics.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mmetrics.html 10 Jan 2002 08:48:31 -0000 1.4
+++ mmetrics.html 1 Feb 2002 00:26:33 -0000 1.5
@@ -8,7 +8,6 @@
<body>
<h2>MMetrics</h2>
-<p>by</p>
<ul>
<li>Stephane Bailliez (<a href="mailto:[EMAIL PROTECTED]">[EMAIL
PROTECTED]</a>)</li>
</ul>
@@ -88,7 +87,7 @@
</p>
<h3>Example</h3>
-<pre> <mmetrics target="mmetrics.xml"
+<pre> <mmetrics tofile="mmetrics.xml"
metamatahome="c:/metamata"
granularity="methods">
<classpath>
@@ -108,19 +107,13 @@
<h3>Generating a report</h3>
As a convenience, there is an XSL file(mmetrics-frames.xsl) that allows you
to generate a full framed HTML report of the metrics.
-You can find it in the <i>etc</i> directory of Ant. As it uses the Xalan
extensions, you will need
-BSF, Xalan and Xerces to run it. The stylesheet takes an <i>output.dir</i>
parameter (otherwise it will be generated
+You can find it in the <i>etc</i> directory of Ant. As it uses the Xalan
redirect extensions, you will need Xalan and Xerces to run it.
+The stylesheet takes an <i>output.dir</i> parameter (otherwise it will be
generated
in the current directory), it can be run in Ant as follows:
<pre>
-<java classname="org.apache.xalan.xslt.Process">
- <param value="-IN"/>
- <param value="${metrics.xml}"/>
- <param value="-XSL"/>
- <param value="mmetrics-frames.xsl"/>
- <param value="-PARAM"/>
- <param value="output.dir"/>
- <param value="&quot;'${report.dir}'&quot;"/>
-</java>
+<style in=java "${metrics.xml}"
style="mmetrics-frames.xsl" out="null.tmp">
+ <param name="output.dir"
expression="${report.dir}quot;/>
+</style>
</pre>
<hr>
<p align="center">Copyright © 2001 Apache Software Foundation. All
rights
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>