Added cvs requirement (from cvs.html) and fixed an example bug. Index: changelog.html =================================================================== RCS file: /home/cvspublic/ant/docs/manual/CoreTasks/changelog.html,v retrieving revision 1.11 diff -u -r1.11 changelog.html --- changelog.html 19 Feb 2003 09:23:19 -0000 1.11 +++ changelog.html 20 Apr 2003 18:44:06 -0000 @@ -11,6 +11,9 @@ <h3>Description</h3> <p>Generates an XML-formatted report file of the change logs recorded in a <a href="http://www.cvshome.org/" target="_top">CVS</a> repository. </p> +<p><b>Important:</b> This task needs "cvs" on the path. If it isn't, you will get +an error (such as error 2 on windows). If <cvs> doesn't work, try to execute cvs.exe +from the command line in the target directory in which you are working. <h3>Parameters</h3> <table border="1" cellpadding="2" cellspacing="0"> <tr> @@ -125,7 +128,7 @@ It writes these changes into the file <code>changelog.xml</code>.</p>
<pre> <cvschangelog dir="dve/network" - destfile="changelog.xml"/> + destfile="changelog.xml"> <user displayname="Peter Donald" userid="donaldp"/> </cvschangelog></pre> @@ -136,13 +139,13 @@ 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 +<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> - <style in="changelog.xml" - out="changelog.html" + <style in="changelog.xml" + out="changelog.html" style="${ant.home}/etc/changelog.xsl"> <param name="title" expression="Ant ChangeLog"/> <param name="module" expression="ant"/>