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.9 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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">usersfile</td>
  30. <td valign="top">property file that contains mapping between userids and display names.</td>
  31. <td align="center" valign="top">No</td>
  32. </tr>
  33. <tr>
  34. <td valign="top">daysinpast</td>
  35. <td valign="top">sets the start the number of days into the past specified.</td>
  36. <td align="center" valign="top">No</td>
  37. </tr>
  38. <tr>
  39. <td valign="top">start</td>
  40. <td valign="top">the earliest date of changes that are to be included in report.</td>
  41. <td align="center" valign="top">No</td>
  42. </tr>
  43. <tr>
  44. <td valign="top">end</td>
  45. <td valign="top">the latest date of changes that are to be included in report.</td>
  46. <td align="center" valign="top">No</td>
  47. </tr>
  48. </table>
  49. <h3>Parameters specified as nested elements</h3>
  50. <h4><a name="user">user</a></h4>
  51. <p>The changelog task all allows a user element. It maps between a usernid
  52. as it appears on the cvs server and a display name. Any time the userid
  53. has made a change in the repository, the author tag in report will use
  54. the supplied displayname rather than the userid..</p>
  55. <table border="1" cellpadding="2" cellspacing="0">
  56. <tr>
  57. <td valign="top"><b>Attribute</b></td>
  58. <td valign="top"><b>Description</b></td>
  59. <td align="center" valign="top"><b>Required</b></td>
  60. </tr>
  61. <tr>
  62. <td valign="top">displayname</td>
  63. <td valign="top">The name to be displayed in CVS changelog.</td>
  64. <td valign="top" align="center">Yes</td>
  65. </tr>
  66. <tr>
  67. <td valign="top">userid</td>
  68. <td valign="top">The userid of person as they exist on the CVS server.</td>
  69. <td valign="top" align="center">Yes</td>
  70. </tr>
  71. </table>
  72. <h3>Examples</h3>
  73. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  74. destfile=&quot;changelog.xml&quot;
  75. /&gt;</pre>
  76. <p>Generates a changelog for the dve/network directory including all changes that
  77. ever occured on repository. It writes 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. daysinpast=&quot;10&quot;
  81. /&gt;</pre>
  82. <p>Generates a changelog for the dve/network directory for the last 10 days. It writes
  83. these changes into the file &quot;changelog.xml&quot;.</p>
  84. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  85. destfile=&quot;changelog.xml&quot;
  86. start=&quot;20 Feb 2002&quot;
  87. end=&quot;20 Mar 2002&quot;
  88. /&gt;</pre>
  89. <p>Generates a changelog for the dve/network directory for all the changes that occured
  90. between the dates 20th of Feb 2002 and 20th of Mar 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. start=&quot;20 Feb 2002&quot;
  94. /&gt;</pre>
  95. <p>Generates a changelog for the dve/network directory for all the changes that occured
  96. after the 20th of Feb 2002. It writes these changes into the file &quot;changelog.xml&quot;.</p>
  97. <pre> &lt;changelog basedir=&quot;dve/network&quot;
  98. destfile=&quot;changelog.xml&quot;
  99. &lt;user displayname=&quot;Peter Donald&quot; userid=&quot;donaldp&quot;/&gt;
  100. /&gt;</pre>
  101. <p>Generates a changelog for the dve/network directory for all the changes that
  102. ever occured. It will also specify the author name as &quot;Peter Donald&quot;
  103. any time it encounters the username &quot;donaldp&quot; in the changes.</p>
  104. <h4>Sample Output</h4>
  105. <pre>
  106. &lt;changelog&gt;
  107. &lt;entry&gt;
  108. &lt;date&gt;2002-03-06&lt;/date&gt;
  109. &lt;time&gt;12:00&lt;/time&gt;
  110. &lt;author&gt;donaldp&lt;/author&gt;
  111. &lt;file&gt;
  112. &lt;name&gt;org/apache/myrmidon/build/AntlibDescriptorTask.java&lt;/name&gt;
  113. &lt;revision&gt;1.3&lt;/revision&gt;
  114. &lt;prevrevision&gt;1.2&lt;/prevrevision&gt;
  115. &lt;/file&gt;
  116. &lt;msg&gt;&lt;![CDATA[Use URLs directly rather than go via a FIle.
  117. This allows temp[lates to be stored inside jar]]&gt;&lt;/msg&gt;
  118. &lt;/entry&gt;
  119. &lt;/changelog&gt;
  120. </pre>
  121. <hr><p align="center">Copyright &copy; 2002 Apache Software Foundation. All rights
  122. Reserved.</p>
  123. </body>
  124. </html>