You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2003/11/06 22:15:02 UTC
cvs commit: ant/docs/manual/CoreTasks cvstagdiff.html
antoine 2003/11/06 13:15:02
Modified: docs/manual/CoreTasks cvstagdiff.html
Log:
Update the doc with the latest change.
I discovered a documented attribute called rootdir, which does not exist in the source code,
so I removed it from the doc too.
Revision Changes Path
1.9 +19 -15 ant/docs/manual/CoreTasks/cvstagdiff.html
Index: cvstagdiff.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/cvstagdiff.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cvstagdiff.html 15 Jun 2003 20:26:57 -0000 1.8
+++ cvstagdiff.html 6 Nov 2003 21:15:02 -0000 1.9
@@ -47,11 +47,6 @@
<td valign="top">The file in which to write the diff report.</td>
<td align="center" valign="top">Yes</td>
</tr>
- <tr>
- <td valign="top">rootdir</td>
- <td valign="top">Root directory for the package, if different from the package name.</td>
- <td align="center" valign="top">No</td>
- </tr>
</table>
<h3>Parameters inherited from the <code>cvs</code> task</h3>
@@ -78,7 +73,10 @@
</tr>
<tr>
<td valign="top">package</td>
- <td valign="top">the package/module to analyze.</td>
+ <td valign="top">the package/module to analyze.<br>
+ Since ant 1.6
+ multiple packages separated by spaces are possible.
+ aliases corresponding to different modules are also possible</td>
<td align="center" valign="top">Yes</td>
</tr>
<tr>
@@ -131,16 +129,14 @@
<pre> <cvstagdiff
destfile="tagdiff.xml"
- package="ant"
- rootdir="apache/ant"
- startDate="2002-01-01"
- endDate="2002-31-01"
+ package="ant jakarta-gump"
+ startDate="2003-01-01"
+ endDate="2003-31-01"
/></pre>
<p>Generates a tagdiff report for all the changes that have been made
-in the <code>ant</code> module in january 2002, with <code>rootdir</code> indicating that
-the actual location of the <code>ant</code> module in cvs is <code>apache/ant</code>
-rather than <code>ant</code>. In this example <code>cvsRoot</code>
+in the <code>ant</code> and <code>jakarta-gump</code> modules in january 2003.
+In this example <code>cvsRoot</code>
has not been set. The current <code>cvsRoot</code> will be used (assuming the build is started
from a folder stored in <code>cvs</code>.
It writes these changes into the file <code>tagdiff.xml</code>.</p>
@@ -160,9 +156,17 @@
</style>
</pre>
-<h4>Sample Output</h4>
+<h4>Output</h4>
<p>
-The cvsroot and package attributes of the tagdiff element are new in ant 1.6.
+The cvsroot and package attributes of the tagdiff element are new in ant 1.6.<br>
+Notes on entry attributes :
+<table border="1">
+<tr><th>Attribute</th><th>Comment</th></tr>
+<tr><td>name</td><td>when reporting on one package, the package name is removed from the output</td></tr>
+<tr><td>revision</td><td>supplied for files which exist at the end of the reporting period</td></tr>
+<tr><td>prevrevision</td><td>supplied for files which exist at the beginning of the reporting period.<br>
+Old CVS servers do not supply it for deleted files. CVS 1.12.2 supplies it.</td></tr>
+</table>
</p>
<pre>
<?xml version="1.0" encoding="UTF-8"?>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org