Class CvsTagDiff
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.AbstractCvsTask
org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
- All Implemented Interfaces:
- Cloneable
Examines the output of cvs rdiff between two tags.
 It produces an XML output representing the list of changes.
 
<!-- Root element --> <!ELEMENT tagdiff (entry+) > <!-- Start tag of the report --> <!ATTLIST tagdiff startTag NMTOKEN #IMPLIED > <!-- End tag of the report --> <!ATTLIST tagdiff endTag NMTOKEN #IMPLIED > <!-- Start date of the report --> <!ATTLIST tagdiff startDate NMTOKEN #IMPLIED > <!-- End date of the report --> <!ATTLIST tagdiff endDate NMTOKEN #IMPLIED > <!-- CVS tag entry --> <!ELEMENT entry (file) > <!-- File added, changed or removed --> <!ELEMENT file (name, revision?, prevrevision?) > <!-- Name of the file --> <!ELEMENT name (#PCDATA) > <!-- Revision number --> <!ELEMENT revision (#PCDATA) > <!-- Previous revision number --> <!ELEMENT prevrevision (#PCDATA) >
- Since:
- Ant 1.5
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.AbstractCvsTaskAbstractCvsTask.Module
- 
Field SummaryFields inherited from class org.apache.tools.ant.taskdefs.AbstractCvsTaskDEFAULT_COMPRESSION_LEVELFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()Execute task.voidsetDestFile(File f) Set the output file for the diff.voidsetEndDate(String s) Set the end date.voidSet the end tag.voidsetIgnoreRemoved(boolean b) Set the ignore removed indicator.voidsetPackage(String p) The package/module to analyze.voidSet the start date.voidSet the start tag.Methods inherited from class org.apache.tools.ant.taskdefs.AbstractCvsTaskaddCommandArgument, addCommandArgument, addConfiguredCommandline, addConfiguredCommandline, addModule, configureCommandline, getCommand, getCvsRoot, getCvsRsh, getDest, getErrorStream, getExecuteStreamHandler, getModules, getOutputStream, getPackage, getPassFile, getPort, getTag, removeCommandline, runCommand, setAppend, setCommand, setCompression, setCompressionLevel, setCvsRoot, setCvsRsh, setDate, setDest, setError, setErrorStream, setExecuteStreamHandler, setFailOnError, setNoexec, setOutput, setOutputStream, setPassfile, setPort, setQuiet, setReallyquiet, setTagMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
CvsTagDiffpublic CvsTagDiff()
 
- 
- 
Method Details- 
setPackageThe package/module to analyze.- Overrides:
- setPackagein class- AbstractCvsTask
- Parameters:
- p- the name of the package to analyse
 
- 
setStartTagSet the start tag.- Parameters:
- s- the start tag.
 
- 
setStartDateSet the start date.- Parameters:
- s- the start date.
 
- 
setEndTagSet the end tag.- Parameters:
- s- the end tag.
 
- 
setEndDateSet the end date.- Parameters:
- s- the end date.
 
- 
setDestFileSet the output file for the diff.- Parameters:
- f- the output file for the diff.
 
- 
setIgnoreRemovedpublic void setIgnoreRemoved(boolean b) Set the ignore removed indicator.- Parameters:
- b- the ignore removed indicator.
- Since:
- Ant 1.8.0
 
- 
executeExecute task.- Overrides:
- executein class- AbstractCvsTask
- Throws:
- BuildException- if an error occurs
 
 
-