![]()
|
SOS (Apache Ant API)
org.apache.tools.ant.taskdefs.optional.sos
|
Field Summary |
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 |
Constructor Summary | |
SOS()
|
Method Summary | |
java.lang.String |
getComment()
Get the comment |
java.lang.String |
getFilename()
Get the filename to be acted upon |
java.lang.String |
getLabel()
Get the label |
java.lang.String |
getLocalPath()
Builds and returns the working directory. |
java.lang.String |
getNoCache()
Get the NoCache flag |
java.lang.String |
getNoCompress()
Get the NoCompress flag |
java.lang.String |
getPassword()
Get the password |
java.lang.String |
getProjectPath()
Get the project path |
java.lang.String |
getRecursive()
Get the 'recursive' Flag |
java.lang.String |
getSosCommand()
Get the executable to run. |
java.lang.String |
getSosHome()
Get the SOS home directory |
java.lang.String |
getSosServerPath()
Get the SOS serve path |
java.lang.String |
getUsername()
Get the username |
java.lang.String |
getVerbose()
Get the 'verbose' Flag |
java.lang.String |
getVersion()
Get the version |
java.lang.String |
getVssServerPath()
Get the VSS server path |
protected int |
run(Commandline cmd)
Execute the created command line |
void |
setComment(java.lang.String comment)
Set the comment to apply to all files being labelled; optional, only valid in SOSLabel |
void |
setFile(java.lang.String filename)
Set the Filename to act upon; optional. |
void |
setLabel(java.lang.String label)
Set the labeled version to operate on in SourceSafe |
void |
setLocalPath(Path path)
Override the working directory and get to the specified path; optional. |
void |
setNoCache(boolean nocache)
flag to disable the cache when set; optional needed if SOSHOME is set as an environment variable. |
void |
setNoCompress(boolean nocompress)
Flag that disables compression when set; optional, default |
void |
setPassword(java.lang.String password)
Set the SourceSafe password; optional. |
void |
setProjectPath(java.lang.String projectpath)
Set the SourceSafe project path without the "$" prefix; required |
void |
setRecursive(boolean recursive)
Flag to recursively apply the action (not valid on all SOS tasks ); optional, default false |
void |
setSosCmd(java.lang.String dir)
Set the directory where soscmd(.exe) is located; optional, soscmd must be on the path if omitted. |
void |
setSosHome(java.lang.String sosHome)
The path to the SourceOffSite home directory |
void |
setSosServerPath(java.lang.String sosServerPath)
Set the address and port of SourceOffSite Server, eg. |
void |
setUsername(java.lang.String username)
Set the SourceSafe username; required. |
void |
setVerbose(boolean verbose)
Enable verbose output; optional, default false |
void |
setVersion(java.lang.String version)
Set the a version number to get - only works with the SOSGet on a file; optional. |
void |
setVssServerPath(java.lang.String vssServerPath)
Set the path to the location of the ss.ini file; required. |
Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 SOS()
Method Detail |
public void setNoCache(boolean nocache)
nocache
- The new noCache valuepublic void setNoCompress(boolean nocompress)
nocompress
- true to disable compressionpublic final void setSosCmd(java.lang.String dir)
dir
- The new sosCmd valuepublic final void setUsername(java.lang.String username)
username
- The new username valuepublic final void setPassword(java.lang.String password)
password
- The new password valuepublic final void setProjectPath(java.lang.String projectpath)
projectpath
- The new projectPath valuepublic final void setVssServerPath(java.lang.String vssServerPath)
vssServerPath
- The new vssServerPath valuepublic final void setSosHome(java.lang.String sosHome)
sosHome
- The new sosHome valuepublic final void setSosServerPath(java.lang.String sosServerPath)
sosServerPath
- The new sosServerPath valuepublic void setLocalPath(Path path)
path
- The new localPath valuepublic final void setFile(java.lang.String filename)
filename
- The new file valuepublic void setVerbose(boolean verbose)
verbose
- The new verbose valuepublic void setRecursive(boolean recursive)
recursive
- The new recursive valuepublic void setVersion(java.lang.String version)
version
- The new version valuepublic void setLabel(java.lang.String label)
label
- The new label valuepublic void setComment(java.lang.String comment)
comment
- The new comment valuepublic java.lang.String getSosCommand()
public java.lang.String getComment()
public java.lang.String getVersion()
public java.lang.String getLabel()
public java.lang.String getUsername()
public java.lang.String getPassword()
public java.lang.String getProjectPath()
public java.lang.String getVssServerPath()
public java.lang.String getSosHome()
public java.lang.String getSosServerPath()
public java.lang.String getFilename()
public java.lang.String getNoCompress()
public java.lang.String getNoCache()
public java.lang.String getVerbose()
public java.lang.String getRecursive()
public java.lang.String getLocalPath()
The localpath is created if it didn't exist
protected int run(Commandline cmd)
cmd
- Description of Parameter
BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |