org.apache.tools.ant.taskdefs.optional.vss
Class MSVSSHISTORY
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.optional.vss.MSVSS
|
+--org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
- public class MSVSSHISTORY
- extends MSVSS
Task to perform HISTORY commands to Microsoft Visual Source Safe.
- Author:
- Balazs Fejes 2, Glenn_Twiggs@bmc.com
Fields inherited from class org.apache.tools.ant.taskdefs.optional.vss.MSVSS |
COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_GET, COMMAND_HISTORY, COMMAND_LABEL, FLAG_AUTORESPONSE_DEF, FLAG_AUTORESPONSE_NO, FLAG_AUTORESPONSE_YES, FLAG_LOGIN, FLAG_OVERRIDE_WORKING_DIR, FLAG_QUIET, FLAG_RECURSION, FLAG_VERSION, FLAG_VERSION_DATE, FLAG_VERSION_LABEL, FLAG_WRITABLE, PROJECT_PREFIX, VALUE_NO, VALUE_YES |
Method Summary |
void |
execute()
Executes the task. |
void |
setDateFormat(java.lang.String dateFormat)
Set the Start Date for the Comparison of two versions in SourceSafe History |
void |
setFromDate(java.lang.String fromDate)
Set the Start Date for the Comparison of two versions in SourceSafe History |
void |
setFromLabel(java.lang.String fromLabel)
Set the Start Label |
void |
setNumdays(int numd)
Set the number of days to go back for Comparison
|
void |
setOutput(java.io.File outfile)
Set the output file name for SourceSafe output |
void |
setRecursive(boolean recursive)
Set behaviour recursive or non-recursive |
void |
setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
Specify the detail of output |
void |
setToDate(java.lang.String toDate)
Set the End Date for the Comparison of two versions in SourceSafe History |
void |
setToLabel(java.lang.String toLabel)
Set the End Label |
void |
setUser(java.lang.String user)
Set the Username of the user whose changes we would like to see. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALUE_FROMDATE
public static final java.lang.String VALUE_FROMDATE
VALUE_FROMLABEL
public static final java.lang.String VALUE_FROMLABEL
FLAG_OUTPUT
public static final java.lang.String FLAG_OUTPUT
FLAG_USER
public static final java.lang.String FLAG_USER
MSVSSHISTORY
public MSVSSHISTORY()
execute
public void execute()
throws BuildException
- Executes the task.
Builds a command line to execute ss and then calls Exec's run method
to execute the command line.
- Overrides:
execute
in class Task
- Following copied from class:
org.apache.tools.ant.Task
- Throws:
BuildException
- if someting goes wrong with the build
setFromDate
public void setFromDate(java.lang.String fromDate)
- Set the Start Date for the Comparison of two versions in SourceSafe History
setFromLabel
public void setFromLabel(java.lang.String fromLabel)
- Set the Start Label
setToLabel
public void setToLabel(java.lang.String toLabel)
- Set the End Label
setToDate
public void setToDate(java.lang.String toDate)
- Set the End Date for the Comparison of two versions in SourceSafe History
setNumdays
public void setNumdays(int numd)
- Set the number of days to go back for Comparison
The default value is 2 days.
setOutput
public void setOutput(java.io.File outfile)
- Set the output file name for SourceSafe output
setDateFormat
public void setDateFormat(java.lang.String dateFormat)
- Set the Start Date for the Comparison of two versions in SourceSafe History
setRecursive
public void setRecursive(boolean recursive)
- Set behaviour recursive or non-recursive
setUser
public void setUser(java.lang.String user)
- Set the Username of the user whose changes we would like to see.
setStyle
public void setStyle(MSVSSHISTORY.BriefCodediffNofile attr)
- Specify the detail of output
- Parameters:
option
- valid values:
- brief: -B Display a brief history.
- codediff: -D Display line-by-line file changes.
- nofile: -F- Do not display individual file updates in the project history.
- default: No option specified. Display in Source Safe's default format.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.