|
|
@@ -8,7 +8,6 @@ |
|
|
|
<body> |
|
|
|
|
|
|
|
<h2><a name="maudit">MAudit</a></h2> |
|
|
|
<p>by</p> |
|
|
|
<ul> |
|
|
|
<li>Stephane Bailliez (<a href="mailto:sbailliez@imediation.com">sbailliez@imediation.com</a>)</li> |
|
|
|
</ul> |
|
|
@@ -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. |
|
|
|
</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> |
|
|
|