diff --git a/docs/manual/OptionalTasks/maudit.html b/docs/manual/OptionalTasks/maudit.html index 33f951167..ad5ff7045 100644 --- a/docs/manual/OptionalTasks/maudit.html +++ b/docs/manual/OptionalTasks/maudit.html @@ -8,7 +8,6 @@

MAudit

-

by

@@ -102,7 +101,7 @@ package names deduced from the file path will be incorrect. </classpath> <sourcepath> <pathelement location="c:/metamata/examples/auditexamples"/> - </classpath> + </sourcepath> <fileset dir="c:/metamata/examples/auditexamples"> <include name="*.java"/> <fileset> @@ -112,20 +111,14 @@ package names deduced from the file path will be incorrect. and fix automatically the fixable errors.

Generating a report

-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 etc directory of Ant. As it uses the Xalan extensions, you will need -BSF, Xalan and Xerces to run it. The stylesheet takes an output.dir 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 etc directory of Ant. As it uses the Xalan redirect extensions, you will need Xalan and Xerces to run it. +The stylesheet takes an output.dir parameter (otherwise it will be generated in the current directory), it can be run in Ant as follows:
-<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>
 

diff --git a/docs/manual/OptionalTasks/mmetrics.html b/docs/manual/OptionalTasks/mmetrics.html index 5622297bb..b4f71a14c 100644 --- a/docs/manual/OptionalTasks/mmetrics.html +++ b/docs/manual/OptionalTasks/mmetrics.html @@ -8,7 +8,6 @@

MMetrics

-

by

@@ -88,7 +87,7 @@ by the different outputs.

Example

-
  <mmetrics target="mmetrics.xml"
+
  <mmetrics tofile="mmetrics.xml"
           metamatahome="c:/metamata"
           granularity="methods">
     <classpath>
@@ -108,19 +107,13 @@ by the different outputs.
 
 

Generating a report

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 etc directory of Ant. As it uses the Xalan extensions, you will need -BSF, Xalan and Xerces to run it. The stylesheet takes an output.dir parameter (otherwise it will be generated +You can find it in the etc directory of Ant. As it uses the Xalan redirect extensions, you will need Xalan and Xerces to run it. +The stylesheet takes an output.dir parameter (otherwise it will be generated in the current directory), it can be run in Ant as follows:
-<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>
 

Copyright © 2001 Apache Software Foundation. All rights