Download Apache Ant 1.5.4 Manual
Transcript
Ant Manual 1.5.4 12/9/2003 7:47 PM Attribute Description Required startTag The earliest tag from which diffs are to be included in the report. exactly one of the two. startDate The earliest date from which diffs are to be included in the report. endTag endDate The latest tag from which diffs are to be included in the report. The latest date from which diffs are to be included in the report. exactly one of the two. destfile The file in which to write the diff report. Yes rootdir Root directory for the package, if different from the package name. No Parameters inherited from the cvs task Attribute Description compression true, false, or the number 1-9 (corresponding to possible values for CVS -z# argument). Any other value is treated as false Required No. Defaults to no compression. if passed true, level 3 compression is assumed. cvsRoot the CVSROOT variable. No cvsRsh package the CVS_RSH variable. the package/module to analyze. No Yes quiet port suppress informational messages. Port used by CVS to communicate with the server. passfile Password file to read passwords from. failonerror Stop the buildprocess if the command exits with a returncode other than 0. Defaults to false No, default "false" No, default port 2401. No, default file ~/.cvspass. No Examples <cvstagdiff cvsRoot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic" destfile="tagdiff.xml" package="ant" startTag="ANT_14" endTag="ANT_141" /> Generates a tagdiff report for all the changes that have been made in the ant module between the tags ANT_14 and ANT_141. It writes these changes into the file tagdiff.xml. <cvstagdiff destfile="tagdiff.xml" package="ant" startDate="2002-01-01" endDate="2002-31-01" /> Generates a tagdiff report for all the changes that have been made in the ant module in january 2002. In this example cvsRoot has not been set. The current cvsRoot will be used (assuming the build is started from a folder stored in cvs. It writes these changes into the file tagdiff.xml. <cvstagdiff destfile="tagdiff.xml" package="ant" rootdir="apache/ant" startDate="2002-01-01" 99/305