|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.optional.sos.SOS | +--org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
Commits and unlocks files in Visual SourceSafe via a SourceOffSite server.
Field Summary |
Fields inherited from class org.apache.tools.ant.taskdefs.optional.sos.SOS |
commandLine |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Fields inherited from interface org.apache.tools.ant.taskdefs.optional.sos.SOSCmd |
COMMAND_CHECKIN_FILE, COMMAND_CHECKIN_PROJECT, COMMAND_CHECKOUT_FILE, COMMAND_CHECKOUT_PROJECT, COMMAND_GET_FILE, COMMAND_GET_PROJECT, COMMAND_HISTORY, COMMAND_LABEL, COMMAND_SOS_EXE, FLAG_COMMAND, FLAG_COMMENT, FLAG_FILE, FLAG_LABEL, FLAG_NO_CACHE, FLAG_NO_COMPRESSION, FLAG_PASSWORD, FLAG_PROJECT, FLAG_RECURSION, FLAG_SOS_HOME, FLAG_SOS_SERVER, FLAG_USERNAME, FLAG_VERBOSE, FLAG_VERSION, FLAG_VSS_SERVER, FLAG_WORKING_DIR, PROJECT_PREFIX |
Constructor Summary | |
SOSCheckin()
|
Method Summary | |
protected Commandline |
buildCmdLine()
Build the command line. |
void |
setComment(java.lang.String comment)
The comment to apply to all files being labelled. |
void |
setFile(java.lang.String filename)
The filename to act upon. |
void |
setRecursive(boolean recursive)
Flag to recursively apply the action. |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.sos.SOS |
execute, getComment, getFilename, getLabel, getLocalPath, getNoCache, getNoCompress, getOptionalAttributes, getPassword, getProjectPath, getRecursive, getRequiredAttributes, getSosCommand, getSosHome, getSosServerPath, getUsername, getVerbose, getVersion, getVssServerPath, run, setInternalComment, setInternalFilename, setInternalLabel, setInternalRecursive, setInternalVersion, setLocalPath, setNoCache, setNoCompress, setPassword, setProjectPath, setSosCmd, setSosHome, setSosServerPath, setUsername, setVerbose, setVssServerPath |
Methods inherited from class org.apache.tools.ant.Task |
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 |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SOSCheckin()
Method Detail |
public final void setFile(java.lang.String filename)
filename
- The new file valuepublic void setRecursive(boolean recursive)
recursive
- True for recursive operation.public void setComment(java.lang.String comment)
comment
- The new comment valueprotected Commandline buildCmdLine()
CheckInFile required parameters: -server -name -password -database -project
-file
CheckInFile optional parameters: -workdir -log -verbose -nocache -nocompression
-soshome
CheckInProject required parameters: -server -name -password -database
-project
CheckInProject optional parameters: workdir -recursive -log -verbose
-nocache -nocompression -soshome
buildCmdLine
in class SOS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |