|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.changelog.AbstractChangeLogGenerator
org.apache.maven.vsslib.VssChangeLogGenerator
A Visual Source Safe implementation of the
ChangeLogGeneratorinterface realized
extending the AbstractChangeLogGenerator.
The command line build by this class uses the ss History VSS
command and formats the output in a way the VssChangeLogParser can
understand. Due to this fact this implementations works only if used within a
vss view.
The command looks like this:
set ssdir=vssRepositoryPath ss History vssProject -YvssUserId,vssUserPassword -R -Vd01/12/04~23/11/04 -I-Y
| Field Summary |
| Fields inherited from class org.apache.maven.changelog.AbstractChangeLogGenerator |
base, changeLogExecutor, clParser, commentFormat, dateRange, entries, errorReader, in, logEnd, logStart, tag, type |
| Constructor Summary | |
VssChangeLogGenerator()
|
|
| Method Summary | |
Collection |
getEntries(ChangeLogParser parser)
Execute vss client driving the given parser. |
protected String |
getScmDateArgument(Date before,
Date to)
Construct the command-line argument that is passed to the scm client to specify the appropriate date range. |
protected org.apache.tools.ant.types.Commandline |
getScmLogCommand()
Constructs the appropriate command line to execute the scm's log command. |
protected String |
getScmTagArgument(String tagStart,
String tagEnd)
Construct the command-line argument that is passed to the scm client to specify the appropriate tag. |
void |
setDateRange(String numDaysString)
Convert date range from 'number of days' format to 'date to date' format |
| Methods inherited from class org.apache.maven.changelog.AbstractChangeLogGenerator |
cleanup, getCommentFormat, getConnection, getLogEnd, getLogStart, handleParserException, init, logExecute, setCommentFormat, setConnection, setDateRangeFromAbsoluteDate, setLogEnd, setLogStart, setProcessErrorStream, setProcessInputStream, setProcessOutputStream, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VssChangeLogGenerator()
| Method Detail |
protected org.apache.tools.ant.types.Commandline getScmLogCommand()
getScmLogCommand in class AbstractChangeLogGeneratorAbstractChangeLogGenerator.getScmLogCommand()
protected String getScmDateArgument(Date before,
Date to)
getScmDateArgument in class AbstractChangeLogGeneratorbefore - The starting point.to - The ending point.
AbstractChangeLogGenerator.getScmDateArgument(java.util.Date,
java.util.Date)
protected String getScmTagArgument(String tagStart,
String tagEnd)
AbstractChangeLogGenerator
getScmTagArgument in class AbstractChangeLogGeneratortagStart - The tag name for the start of the log (log shouldn't actually contain the tag).tagEnd - The tag name for the end of the log (the log can contain this tag), or null to
log all changes since tagStart.
public void setDateRange(String numDaysString)
setDateRange in class AbstractChangeLogGeneratornumDaysString - String
public Collection getEntries(ChangeLogParser parser)
throws IOException
getEntries in interface ChangeLogGeneratorgetEntries in class AbstractChangeLogGeneratorparser - A parserto process the vss output.
entriesparsed from the
vss output.
IOException - When there are issues executing vss.ChangeLogGenerator#getEntries(ChangeLogParser)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||