Browse Source

Add changelog.xsl to distribution and also make sure it is documented.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272249 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
5b95034bfc
2 changed files with 16 additions and 0 deletions
  1. +1
    -0
      build.xml
  2. +15
    -0
      docs/manual/CoreTasks/changelog.html

+ 1
- 0
build.xml View File

@@ -754,6 +754,7 @@
<include name="coverage-frames.xsl"/> <include name="coverage-frames.xsl"/>
<include name="maudit-frames.xsl"/> <include name="maudit-frames.xsl"/>
<include name="mmetrics-frames.xsl"/> <include name="mmetrics-frames.xsl"/>
<include name="changelog.xsl"/>
<include name="jdepend.xsl"/> <include name="jdepend.xsl"/>
<include name="jdepend-frames.xsl"/> <include name="jdepend-frames.xsl"/>
<include name="checkstyle-frames.xsl"/> <include name="checkstyle-frames.xsl"/>


+ 15
- 0
docs/manual/CoreTasks/changelog.html View File

@@ -135,6 +135,21 @@ under the <code>dve/network</code> directory, substituting the name
anytime it encounters a change made by the user ID &quot;donaldp&quot;. anytime it encounters a change made by the user ID &quot;donaldp&quot;.
It writes these changes into the file <code>changelog.xml</code>.</p> It writes these changes into the file <code>changelog.xml</code>.</p>


<h4>Generate Report</h4>
<p>Ant includes a basic XSLT stylesheet that you can use to generate
a HTML report based on the xml output. The following example illustrates
how to generate a HTML report from the XML report.</p>

<pre>
&lt;style in="changelog.xml"
out="changelog.html"
style="${ant.home}/etc/changelog.xsl"&gt;
&lt;param name="title" expression="Ant ChangeLog"/&gt;
&lt;param name="module" expression="jakarta-ant"/&gt;
&lt;param name="cvsweb" expression="http://cvs.apache.org/viewcvs/"/&gt;
&lt;/style&gt;
</pre>

<h4>Sample Output</h4> <h4>Sample Output</h4>
<pre> <pre>
&lt;changelog&gt; &lt;changelog&gt;


Loading…
Cancel
Save