<!-- 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)>
| Modifier and Type | Field and Description |
|---|---|
| private List | cvsUsers
User list |
| private File | destFile
Output file |
| private Date | endDate
The latest date at which to stop processing entries. |
| private String | endTag
End tag when doing tag ranges. |
| private final List | filesets
Filesets containing list of files against which the cvs log will be performed. |
| private File | inputDir
Input dir |
| private boolean | remote
Determines whether log (false) or rlog (true) is used |
| private Date | startDate
The earliest date at which to start processing entries. |
| private String | startTag
Start tag when doing tag ranges. |
| private File | usersFile
User list |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addFileset(final FileSet
a set of files about which cvs logs will be generated. fileSet)Adds a set of files about which cvs logs will be generated. |
| public void | |
| public void | |
| private CVSEntry[] | Returns: the filtered entry setthe entry set to filter entrySet)Filter the specified entries according to an appropriate rule. |
| private void | loadUserlist(final Properties
the file of users userList)Load the userlist from the userList file (if specified) and add to list of users. |
| private void | replaceAuthorIdWithName(final Properties userList, final CVSEntry[] entrySet)
replace all known author's id's with their maven specified names |
| public void | setDaysinpast(final int
the number of days of log to process. days)Set the number of days worth of log entries to process. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setRemote(final boolean
boolean remote)Whether to use rlog against a remote repository instead of log in a working copy's directory. |
| public void | |
| public void | setStartTag(final String
The date at which the changelog should start. start)Set the tag at which the changelog should start. |
| public void | setUsersfile(final File
The file containing the users info. usersFile)Set a lookup list of user names & addresses |
| private void | |
| private void | writeChangeLog(final CVSEntry[]
the entry set to write. entrySet)Print changelog to file specified in task. |
| cvsUsers | back to summary |
|---|---|
| private List<CvsUser> cvsUsers User list | |
| destFile | back to summary |
|---|---|
| private File destFile Output file | |
| endDate | back to summary |
|---|---|
| private Date endDate The latest date at which to stop processing entries. | |
| endTag | back to summary |
|---|---|
| private String endTag End tag when doing tag ranges. | |
| filesets | back to summary |
|---|---|
| private final List<FileSet> filesets Filesets containing list of files against which the cvs log will be performed. If empty then all files in the working directory will be checked. | |
| inputDir | back to summary |
|---|---|
| private File inputDir Input dir | |
| remote | back to summary |
|---|---|
| private boolean remote Determines whether log (false) or rlog (true) is used | |
| startDate | back to summary |
|---|---|
| private Date startDate The earliest date at which to start processing entries. | |
| startTag | back to summary |
|---|---|
| private String startTag Start tag when doing tag ranges. | |
| usersFile | back to summary |
|---|---|
| private File usersFile User list | |
| ChangeLogTask | back to summary |
|---|---|
| public ChangeLogTask() | |
| addFileset | back to summary |
|---|---|
| public void addFileset(final FileSet fileSet) Adds a set of files about which cvs logs will be generated.
| |
| addUser | back to summary |
|---|---|
| public void addUser(final CvsUser user) Add a user to list changelog knows about.
| |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Execute task
| |
| filterEntrySet | back to summary |
|---|---|
| private CVSEntry[] filterEntrySet(final CVSEntry[] entrySet) Filter the specified entries according to an appropriate rule. | |
| loadUserlist | back to summary |
|---|---|
| private void loadUserlist(final Properties userList) throws BuildException Load the userlist from the userList file (if specified) and add to list of users.
| |
| replaceAuthorIdWithName | back to summary |
|---|---|
| private void replaceAuthorIdWithName(final Properties userList, final CVSEntry[] entrySet) replace all known author's id's with their maven specified names | |
| setDaysinpast | back to summary |
|---|---|
| public void setDaysinpast(final int days) Set the number of days worth of log entries to process.
| |
| setDestfile | back to summary |
|---|---|
| public void setDestfile(final File destFile) Set the output file for the log.
| |
| setDir | back to summary |
|---|---|
| public void setDir(final File inputDir) Set the base dir for cvs.
| |
| setEnd | back to summary |
|---|---|
| public void setEnd(final Date endDate) Set the date at which the changelog should stop.
| |
| setEndTag | back to summary |
|---|---|
| public void setEndTag(final String end) Set the tag at which the changelog should stop.
| |
| setRemote | back to summary |
|---|---|
| public void setRemote(final boolean remote) Whether to use rlog against a remote repository instead of log in a working copy's directory.
| |
| setStart | back to summary |
|---|---|
| public void setStart(final Date start) Set the date at which the changelog should start.
| |
| setStartTag | back to summary |
|---|---|
| public void setStartTag(final String start) Set the tag at which the changelog should start.
| |
| setUsersfile | back to summary |
|---|---|
| public void setUsersfile(final File usersFile) Set a lookup list of user names & addresses
| |
| validate | back to summary |
|---|---|
| private void validate() throws BuildException Validate the parameters specified for task.
| |
| writeChangeLog | back to summary |
|---|---|
| private void writeChangeLog(final CVSEntry[] entrySet) throws BuildException Print changelog to file specified in task.
| |