Class ChangeLogTask
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.ChangeLogTask
- All Implemented Interfaces:
- Cloneable
Examines the output of cvs log and group related changes together.
 It produces an XML output representing the list of changes.
 
<!-- Root element --> <!ELEMENT changelog (entry+)> <!-- CVS Entry --> <!ELEMENT entry (date,author,file+,msg)> <!-- Date of cvs entry --> <!ELEMENT date (#PCDATA)> <!-- Author of change --> <!ELEMENT author (#PCDATA)> <!-- List of files affected --> <!ELEMENT msg (#PCDATA)> <!-- File changed --> <!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 TypeMethodDescriptionvoidaddFileset(FileSet fileSet) Adds a set of files about which cvs logs will be generated.voidAdd a user to list changelog knows about.voidexecute()Execute taskvoidsetDaysinpast(int days) Set the number of days worth of log entries to process.voidsetDestfile(File destFile) Set the output file for the log.voidSet the base dir for cvs.voidSet the date at which the changelog should stop.voidSet the tag at which the changelog should stop.voidsetRemote(boolean remote) Whether to use rlog against a remote repository instead of log in a working copy's directory.voidSet the date at which the changelog should start.voidsetStartTag(String start) Set the tag at which the changelog should start.voidsetUsersfile(File usersFile) Set a lookup list of user names & addressesMethods 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, setPackage, 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- 
ChangeLogTaskpublic ChangeLogTask()
 
- 
- 
Method Details- 
setDirSet the base dir for cvs.- Parameters:
- inputDir- The new dir value
 
- 
setDestfileSet the output file for the log.- Parameters:
- destFile- The new destfile value
 
- 
setUsersfileSet a lookup list of user names & addresses- Parameters:
- usersFile- The file containing the users info.
 
- 
addUserAdd a user to list changelog knows about.- Parameters:
- user- the user
 
- 
setStartSet the date at which the changelog should start.- Parameters:
- start- The date at which the changelog should start.
 
- 
setEndSet the date at which the changelog should stop.- Parameters:
- endDate- The date at which the changelog should stop.
 
- 
setDaysinpastpublic void setDaysinpast(int days) Set the number of days worth of log entries to process.- Parameters:
- days- the number of days of log to process.
 
- 
setRemotepublic void setRemote(boolean remote) Whether to use rlog against a remote repository instead of log in a working copy's directory.- Parameters:
- remote- boolean
- Since:
- Ant 1.8.0
 
- 
setStartTagSet the tag at which the changelog should start.- Parameters:
- start- The date at which the changelog should start.
 
- 
setEndTagSet the tag at which the changelog should stop.- Parameters:
- end- The date at which the changelog should stop.
 
- 
addFilesetAdds a set of files about which cvs logs will be generated.- Parameters:
- fileSet- a set of files about which cvs logs will be generated.
 
- 
executeExecute task- Overrides:
- executein class- AbstractCvsTask
- Throws:
- BuildException- if something goes wrong executing the cvs command
 
 
-