You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

changelog.html 4.8 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Changelog Task</title>
  5. </head>
  6. <body>
  7. <h2><a name="changelog">Changelog</a></h2>
  8. <h3>Description</h3>
  9. <p>Generates an XML report of the changes recorded in a
  10. <a href="http://www.cvshome.org/" target="_top">CVS</a> repository. </p>
  11. <h3>Parameters</h3>
  12. <table border="1" cellpadding="2" cellspacing="0">
  13. <tr>
  14. <td valign="top"><b>Attribute</b></td>
  15. <td valign="top"><b>Description</b></td>
  16. <td align="center" valign="top"><b>Required</b></td>
  17. </tr>
  18. <tr>
  19. <td valign="top">basedir</td>
  20. <td valign="top">the directory from which to run &quot;cvs log&quot;.</td>
  21. <td align="center" valign="top">Yes</td>
  22. </tr>
  23. <tr>
  24. <td valign="top">destfile</td>
  25. <td valign="top">the file in which to write the changelog.</td>
  26. <td align="center" valign="top">Yes</td>
  27. </tr>
  28. <tr>
  29. <td valign="top">daysinpast</td>
  30. <td valign="top">sets the start the number of days into the past specified.</td>
  31. <td align="center" valign="top">No</td>
  32. </tr>
  33. <tr>
  34. <td valign="top">start</td>
  35. <td valign="top">the earliest date of changes that are to be included in report.</td>
  36. <td align="center" valign="top">No</td>
  37. </tr>
  38. <tr>
  39. <td valign="top">end</td>
  40. <td valign="top">the latest date of changes that are to be included in report.</td>
  41. <td align="center" valign="top">No</td>
  42. </tr>
  43. </table>
  44. <h4><a name="user">user</a></h4>
  45. <p>The changelog task all allows a user element. It maps between a usernid
  46. as it appears on the cvs server and a display name. Any time the userid
  47. has made a change in the repository, the author tag in report will use
  48. the supplied displayname rather than the userid..</p>
  49. <table border="1" cellpadding="2" cellspacing="0">
  50. <tr>
  51. <td valign="top"><b>Attribute</b></td>
  52. <td valign="top"><b>Description</b></td>
  53. <td align="center" valign="top"><b>Required</b></td>
  54. </tr>
  55. <tr>
  56. <td valign="top">displayname</td>
  57. <td valign="top">The name to be displayed in CVS changelog.</td>
  58. <td valign="top" align="center">Yes</td>
  59. </tr>
  60. <tr>
  61. <td valign="top">userid</td>
  62. <td valign="top">The userid of person as they exist on the CVS server.</td>
  63. <td valign="top" align="center">Yes</td>
  64. </tr>
  65. </table>
  66. <h3>Examples</h3>
  67. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  68. destfile=&quot;changelog.xml&quot;
  69. /&gt;</pre>
  70. <p>Generates a changelog for the dve/network directory including all changes that
  71. ever occured on repository. It writes these changes into the file &quot;changelog.xml&quot;.</p>
  72. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  73. destfile=&quot;changelog.xml&quot;
  74. days=&quot;10&quot;
  75. /&gt;</pre>
  76. <p>Generates a changelog for the dve/network directory for the last 10 days. It writes
  77. these changes into the file &quot;changelog.xml&quot;.</p>
  78. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  79. destfile=&quot;changelog.xml&quot;
  80. start=&quot;20 Feb 2002&quot;
  81. end=&quot;20 Mar 2002&quot;
  82. /&gt;</pre>
  83. <p>Generates a changelog for the dve/network directory for all the changes that occured
  84. between the dates 20th of Feb 2002 and 20th of Mar 2002. It writes these changes into the file &quot;changelog.xml&quot;.</p>
  85. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  86. destfile=&quot;changelog.xml&quot;
  87. start=&quot;20 Feb 2002&quot;
  88. /&gt;</pre>
  89. <p>Generates a changelog for the dve/network directory for all the changes that occured
  90. after the 20th of Feb 2002. It writes these changes into the file &quot;changelog.xml&quot;.</p>
  91. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  92. destfile=&quot;changelog.xml&quot;
  93. &lt;user displayname=&quot;Peter Donald&quot; userid=&quot;donaldp&quot;/&gt;
  94. /&gt;</pre>
  95. <p>Generates a changelog for the dve/network directory for all the changes that
  96. ever occured. It will also specify the author name as &quot;Peter Donald&quot;
  97. any time it encounters the username &quot;donaldp&quot; in the changes.</p>
  98. <h4>Sample Output</h4>
  99. <pre>
  100. &lt;changelog&gt;
  101. &lt;entry&gt;
  102. &lt;date&gt;2002-03-06&lt;/date&gt;
  103. &lt;time&gt;12:00&lt;/time&gt;
  104. &lt;author&gt;donaldp&lt;/author&gt;
  105. &lt;file&gt;
  106. &lt;name&gt;org/apache/myrmidon/build/AntlibDescriptorTask.java&lt;/name&gt;
  107. &lt;revision&gt;1.3&lt;/revision&gt;
  108. &lt;prevrevision&gt;1.2&lt;/prevrevision&gt;
  109. &lt;/file&gt;
  110. &lt;msg&gt;&lt;![CDATA[Use URLs directly rather than go via a FIle.
  111. This allows temp[lates to be stored inside jar]]&gt;&lt;/msg&gt;
  112. &lt;/entry&gt;
  113. &lt;/changelog&gt;
  114. </pre>
  115. <hr><p align="center">Copyright &copy; 2001 Apache Software Foundation. All rights
  116. Reserved.</p>
  117. </body>
  118. </html>