Save This Page
Home » apache-ant-1.7.1-src » org.apache.tools » ant » taskdefs » cvslib » [javadoc | source]
org.apache.tools.ant.taskdefs.cvslib
public class: ChangeLogTask [javadoc | source]
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)>
Fields inherited from org.apache.tools.ant.taskdefs.AbstractCvsTask:
DEFAULT_COMPRESSION_LEVEL
Fields inherited from org.apache.tools.ant.Task:
target,  taskName,  taskType,  wrapper
Fields inherited from org.apache.tools.ant.ProjectComponent:
project,  location,  description
Method from org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask Summary:
addFileset,   addUser,   execute,   setDaysinpast,   setDestfile,   setDir,   setEnd,   setStart,   setUsersfile
Methods from org.apache.tools.ant.taskdefs.AbstractCvsTask:
addCommandArgument,   addCommandArgument,   addConfiguredCommandline,   addConfiguredCommandline,   configureCommandline,   execute,   getCommand,   getCvsRoot,   getCvsRsh,   getDest,   getErrorStream,   getExecuteStreamHandler,   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,   setTag
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   getWrapper,   handleErrorFlush,   handleErrorOutput,   handleFlush,   handleInput,   handleOutput,   init,   isInvalid,   log,   log,   log,   log,   markInvalid,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask Detail:
 public  void addFileset(FileSet fileSet) 
    Adds a set of files about which cvs logs will be generated.
 public  void addUser(CvsUser user) 
    Add a user to list changelog knows about.
 public  void execute() throws BuildException 
    Execute task
 public  void setDaysinpast(int days) 
    Set the number of days worth of log entries to process.
 public  void setDestfile(File destFile) 
    Set the output file for the log.
 public  void setDir(File inputDir) 
    Set the base dir for cvs.
 public  void setEnd(Date endDate) 
    Set the date at which the changelog should stop.
 public  void setStart(Date start) 
    Set the date at which the changelog should start.
 public  void setUsersfile(File usersFile) 
    Set a lookup list of user names & addresses