public class ChangeLogTask extends AbstractCvsTask
<!-- 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)>
AbstractCvsTask.Module
DEFAULT_COMPRESSION_LEVEL
Constructor and Description |
---|
ChangeLogTask() |
Modifier and Type | Method and Description |
---|---|
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(File destFile)
Set the output file for the log.
|
void |
setDir(File inputDir)
Set the base dir for cvs.
|
void |
setEnd(Date endDate)
Set the date at which the changelog should stop.
|
void |
setEndTag(String end)
Set the tag at which the changelog should stop.
|
void |
setRemote(boolean remote)
Whether to use rlog against a remote repository instead of log
in a working copy's directory.
|
void |
setStart(Date start)
Set the date at which the changelog should start.
|
void |
setStartTag(String start)
Set the tag at which the changelog should start.
|
void |
setUsersfile(File usersFile)
Set a lookup list of user names & addresses
|
addCommandArgument, 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, setTag
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void addFileset(FileSet fileSet)
fileSet
- a set of files about which cvs logs will be generated.public void addUser(CvsUser user)
user
- the userpublic void execute() throws BuildException
execute
in class AbstractCvsTask
BuildException
- if something goes wrong executing the
cvs commandpublic void setDaysinpast(int days)
days
- the number of days of log to process.public void setDestfile(File destFile)
destFile
- The new destfile valuepublic void setDir(File inputDir)
inputDir
- The new dir valuepublic void setEnd(Date endDate)
endDate
- The date at which the changelog should stop.public void setEndTag(String end)
end
- The date at which the changelog should stop.public void setRemote(boolean remote)
public void setStart(Date start)
start
- The date at which the changelog should start.public void setStartTag(String start)
start
- The date at which the changelog should start.public void setUsersfile(File usersFile)
usersFile
- The file containing the users info.