ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/OptionalTasks maudit.html mmetrics.html
Date Fri, 01 Feb 2002 00:26:33 GMT
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:sbailliez@imediation.com">sbailliez@imediation.com</a>)</li>
   </ul>
  @@ -102,7 +101,7 @@
       &lt;/classpath&gt;
       &lt;sourcepath&gt;
         &lt;pathelement location=&quot;c:/metamata/examples/auditexamples&quot;/&gt;
  -    &lt;/classpath&gt;
  +    &lt;/sourcepath&gt;
       &lt;fileset dir=&quot;c:/metamata/examples/auditexamples&quot;&gt;
           &lt;include name=&quot;*.java&quot;/&gt;
       &lt;fileset&gt;
  @@ -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>
  -&lt;java classname=&quot;org.apache.xalan.xslt.Process&quot;&gt;
  -    &lt;param value=&quot;-IN&quot;/&gt;
  -    &lt;param value=&quot;${metrics.xml}&quot;/&gt;
  -    &lt;param value=&quot;-XSL&quot;/&gt;
  -    &lt;param value=&quot;maudit-frames.xsl&quot;/&gt;
  -    &lt;param value=&quot;-PARAM&quot;/&gt;
  -    &lt;param value=&quot;output.dir&quot;/&gt;
  -    &lt;param value=&quot;&amp;quot;'${report.dir}'&amp;quot;&quot;/&gt;
  -&lt;/java&gt;
  +&lt;style in=java &quot;${audit.xml}&quot; style=&quot;maudit-frames.xsl&quot;
out="null.tmp"&gt;
  +    &lt;param name=&quot;output.dir&quot; expression=&quot;${report.dir}quot;/&gt;
  +&lt;/style&gt;
   </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:sbailliez@imediation.com">sbailliez@imediation.com</a>)</li>
   </ul>
  @@ -88,7 +87,7 @@
   </p>
   
   <h3>Example</h3>
  -<pre>  &lt;mmetrics target=&quot;mmetrics.xml&quot;
  +<pre>  &lt;mmetrics tofile=&quot;mmetrics.xml&quot;
             metamatahome=&quot;c:/metamata&quot;
             granularity=&quot;methods&quot;&gt;
       &lt;classpath&gt;
  @@ -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>
  -&lt;java classname=&quot;org.apache.xalan.xslt.Process&quot;&gt;
  -    &lt;param value=&quot;-IN&quot;/&gt;
  -    &lt;param value=&quot;${metrics.xml}&quot;/&gt;
  -    &lt;param value=&quot;-XSL&quot;/&gt;
  -    &lt;param value=&quot;mmetrics-frames.xsl&quot;/&gt;
  -    &lt;param value=&quot;-PARAM&quot;/&gt;
  -    &lt;param value=&quot;output.dir&quot;/&gt;
  -    &lt;param value=&quot;&amp;quot;'${report.dir}'&amp;quot;&quot;/&gt;
  -&lt;/java&gt;
  +&lt;style in=java &quot;${metrics.xml}&quot; style=&quot;mmetrics-frames.xsl&quot;
out="null.tmp"&gt;
  +    &lt;param name=&quot;output.dir&quot; expression=&quot;${report.dir}quot;/&gt;
  +&lt;/style&gt;
   </pre>
   <hr>
   <p align="center">Copyright &copy; 2001 Apache Software Foundation. All rights
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message