org.apache.tools.ant.taskdefs.optional.vss
Class MSVSSADD
- MSVSSConstants
Performs Add commands to Microsoft Visual SourceSafe.
COMMAND_ADD , COMMAND_CHECKIN , COMMAND_CHECKOUT , COMMAND_CP , COMMAND_CREATE , COMMAND_GET , COMMAND_HISTORY , COMMAND_LABEL , FLAG_AUTORESPONSE_DEF , FLAG_AUTORESPONSE_NO , FLAG_AUTORESPONSE_YES , FLAG_BRIEF , FLAG_CODEDIFF , FLAG_COMMENT , FLAG_FILETIME_DEF , FLAG_FILETIME_MODIFIED , FLAG_FILETIME_UPDATED , FLAG_LABEL , FLAG_LOGIN , FLAG_NO_FILE , FLAG_NO_GET , FLAG_OUTPUT , FLAG_OVERRIDE_WORKING_DIR , FLAG_QUIET , FLAG_RECURSION , FLAG_REPLACE_WRITABLE , FLAG_SKIP_WRITABLE , FLAG_USER , FLAG_VERSION , FLAG_VERSION_DATE , FLAG_VERSION_LABEL , FLAG_WRITABLE , PROJECT_PREFIX , SS_EXE , STYLE_BRIEF , STYLE_CODEDIFF , STYLE_DEFAULT , STYLE_NOFILE , TIME_CURRENT , TIME_MODIFIED , TIME_UPDATED , VALUE_FROMDATE , VALUE_FROMLABEL , VALUE_NO , VALUE_YES , WRITABLE_FAIL , WRITABLE_REPLACE , WRITABLE_SKIP |
protected Commandline | buildCmdLine() - Builds a command line to execute ss.
|
protected String | getLocalpath() - Returns the local path without the flag.; required
|
void | setAutoresponse(String response) - Autoresponce behaviour.
|
void | setComment(String comment) - Comment to apply to files added to SourceSafe.
|
void | setLocalpath(Path localPath) - Override the project working directory.
|
void | setRecursive(boolean recursive) - Add files recursively.
|
void | setWritable(boolean writable) - Unset the READ-ONLY flag on local copies of files added to VSS.
|
execute , getAutoresponse , getComment , getFileTimeStamp , getGetLocalCopy , getLabel , getLocalpath , getLogin , getOutput , getQuiet , getRecursive , getSSCommand , getStyle , getUser , getVersion , getVersionDate , getVersionDateLabel , getVersionLabel , getVsspath , getWritable , getWritableFiles , setFailOnError , setInternalAutoResponse , setInternalComment , setInternalDate , setInternalDateFormat , setInternalFailOnError , setInternalFileTimeStamp , setInternalFromDate , setInternalFromLabel , setInternalGetLocalCopy , setInternalLabel , setInternalLocalPath , setInternalNumDays , setInternalOutputFilename , setInternalQuiet , setInternalRecursive , setInternalStyle , setInternalToDate , setInternalToLabel , setInternalUser , setInternalVersion , setInternalWritable , setInternalWritableFiles , setLogin , setServerpath , setSsdir , setVsspath |
execute , 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 |
buildCmdLine
protected Commandline buildCmdLine()
Builds a command line to execute ss.
- The constructed commandline.
getLocalpath
protected String getLocalpath()
Returns the local path without the flag.; required
- getLocalpath in interface MSVSS
- The local path value.
- See why this returns the local path without the flag.
setAutoresponse
public void setAutoresponse(String response)
Autoresponce behaviour. Valid options are Y and N.
response
- The auto response value.
setComment
public void setComment(String comment)
Comment to apply to files added to SourceSafe.
comment
- The comment to apply in SourceSafe
setLocalpath
public void setLocalpath(Path localPath)
Override the project working directory.
localPath
- The path on disk.
setRecursive
public void setRecursive(boolean recursive)
Add files recursively. Defaults to false.
recursive
- The boolean value for recursive.
setWritable
public final void setWritable(boolean writable)
Unset the READ-ONLY flag on local copies of files added to VSS. Defaults to false.
writable
- The boolean value for writable.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.