|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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)>
Field Summary |
Fields inherited from class org.apache.tools.ant.taskdefs.AbstractCvsTask |
DEFAULT_COMPRESSION_LEVEL |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
ChangeLogTask()
|
Method Summary | |
void |
addFileset(FileSet fileSet)
Adds a set of files about which cvs logs will be generated. |
void |
addUser(CvsUser user)
Add a user to list changelog knows about. |
void |
execute()
Execute task |
void |
setDaysinpast(int days)
Set the number of days worth of log entries to process. |
void |
setDestfile(java.io.File destfile)
Set the output file for the log. |
void |
setDir(java.io.File dir)
Set the base dir for cvs. |
void |
setEnd(java.util.Date stop)
Set the date at which the changelog should stop. |
void |
setStart(java.util.Date start)
Set the date at which the changelog should start. |
void |
setUsersfile(java.io.File usersFile)
Set a lookup list of user names & addresses |
Methods inherited from class org.apache.tools.ant.taskdefs.AbstractCvsTask |
addCommandArgument, addCommandArgument, addConfiguredCommandline, addConfiguredCommandline, configureCommandline, 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 inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChangeLogTask()
Method Detail |
public void setDir(java.io.File dir)
dir
- The new dir valuepublic void setDestfile(java.io.File destfile)
destfile
- The new destfile valuepublic void setUsersfile(java.io.File usersFile)
usersFile
- The file containing the users info.public void addUser(CvsUser user)
user
- the userpublic void setStart(java.util.Date start)
start
- The date at which the changelog should start.public void setEnd(java.util.Date stop)
stop
- The date at which the changelog should stop.public void setDaysinpast(int days)
days
- the number of days of log to process.public void addFileset(FileSet fileSet)
fileSet
- a set of files about which cvs logs will be generated.public void execute() throws BuildException
execute
in class AbstractCvsTask
BuildException
- if something goes wrong executing the
cvs command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |