| Modifier and Type | Field and Description |
|---|---|
| protected Commandline | commandLine
Commandline to be executed. |
| private String | |
| private static final int | |
| private String | |
| private String | |
| private String | |
| private boolean | |
| private boolean | |
| private String | |
| private boolean | |
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private boolean | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract Commandline | Returns: The command line to execute.Subclasses implement the logic required to construct the command line. |
| public void | |
| protected String | |
| protected String | |
| protected String | |
| protected String | Returns: the absolute path of the working directory.Builds and returns the working directory. |
| protected String | Returns: the 'nocache' Flag if the attribute was 'true', otherwise an empty string.Get the NoCache flag. |
| protected String | Returns: the 'nocompress' Flag if the attribute was 'true', otherwise an empty string.Get the NoCompress flag. |
| protected void | |
| protected String | |
| protected String | |
| protected String | Returns: the 'recursive' Flag if the attribute was 'true', otherwise an empty string.Get the 'recursive' Flag. |
| protected void | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| protected String | Returns: the 'verbose' Flag if the attribute was 'true', otherwise an empty string.Get the 'verbose' Flag. |
| protected String | |
| protected String | |
| protected int | Returns: int the exit code.The command line to run. cmd)Execute the created command line. |
| protected void | |
| protected void | |
| protected void | |
| protected void | setInternalRecursive(boolean
if true use the recursive flag on the command line. recurse)Set the recursive flag. |
| protected void | |
| public final void | setLocalPath(Path
The new localPath value. path)Override the working directory and get to the specified path. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | setSosServerPath(String
The new sosServerPath value. sosServerPath)The address and port of SourceOffSite Server, for example 192.168.0.1:8888. |
| public final void | |
| public void | |
| public final void | setVssServerPath(String
The new vssServerPath value. vssServerPath)The path to the location of the ss.ini file. |
| commandLine | back to summary |
|---|---|
| protected Commandline commandLine Commandline to be executed. | |
| comment | back to summary |
|---|---|
| private String comment | |
| ERROR_EXIT_STATUS | back to summary |
|---|---|
| private static final int ERROR_EXIT_STATUS | |
| filename | back to summary |
|---|---|
| private String filename | |
| label | back to summary |
|---|---|
| private String label | |
| localPath | back to summary |
|---|---|
| private String localPath | |
| noCache | back to summary |
|---|---|
| private boolean noCache | |
| noCompress | back to summary |
|---|---|
| private boolean noCompress | |
| projectPath | back to summary |
|---|---|
| private String projectPath | |
| recursive | back to summary |
|---|---|
| private boolean recursive | |
| sosCmdDir | back to summary |
|---|---|
| private String sosCmdDir | |
| sosHome | back to summary |
|---|---|
| private String sosHome | |
| sosPassword | back to summary |
|---|---|
| private String sosPassword | |
| sosServerPath | back to summary |
|---|---|
| private String sosServerPath | |
| sosUsername | back to summary |
|---|---|
| private String sosUsername | |
| verbose | back to summary |
|---|---|
| private boolean verbose | |
| version | back to summary |
|---|---|
| private String version | |
| vssServerPath | back to summary |
|---|---|
| private String vssServerPath | |
| SOS | back to summary |
|---|---|
| public SOS() | |
| buildCmdLine | back to summary |
|---|---|
| pack-priv abstract Commandline buildCmdLine() Subclasses implement the logic required to construct the command line.
| |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Execute the created command line.
| |
| getComment | back to summary |
|---|---|
| protected String getComment() Get the comment
| |
| getFilename | back to summary |
|---|---|
| protected String getFilename() Get the filename to be acted upon.
| |
| getLabel | back to summary |
|---|---|
| protected String getLabel() Get the label
| |
| getLocalPath | back to summary |
|---|---|
| protected String getLocalPath() Builds and returns the working directory. The localpath is created if it didn't exist.
| |
| getNoCache | back to summary |
|---|---|
| protected String getNoCache() Get the NoCache flag.
| |
| getNoCompress | back to summary |
|---|---|
| protected String getNoCompress() Get the NoCompress flag.
| |
| getOptionalAttributes | back to summary |
|---|---|
| protected void getOptionalAttributes() Adds the optional attributes to the command line. | |
| getPassword | back to summary |
|---|---|
| protected String getPassword() Get the password
| |
| getProjectPath | back to summary |
|---|---|
| protected String getProjectPath() Get the project path
| |
| getRecursive | back to summary |
|---|---|
| protected String getRecursive() Get the 'recursive' Flag.
| |
| getRequiredAttributes | back to summary |
|---|---|
| protected void getRequiredAttributes() Sets the executable and add the required attributes to the command line. | |
| getSosCommand | back to summary |
|---|---|
| protected String getSosCommand() Get the executable to run. Add the path if it was specified in the build file
| |
| getSosHome | back to summary |
|---|---|
| protected String getSosHome() Get the SOS home directory.
| |
| getSosServerPath | back to summary |
|---|---|
| protected String getSosServerPath() Get the SOS serve path.
| |
| getUsername | back to summary |
|---|---|
| protected String getUsername() Get the username
| |
| getVerbose | back to summary |
|---|---|
| protected String getVerbose() Get the 'verbose' Flag.
| |
| getVersion | back to summary |
|---|---|
| protected String getVersion() Get the version
| |
| getVssServerPath | back to summary |
|---|---|
| protected String getVssServerPath() Get the VSS server path
| |
| run | back to summary |
|---|---|
| protected int run(Commandline cmd) Execute the created command line.
| |
| setInternalComment | back to summary |
|---|---|
| protected void setInternalComment(String text) Set the comment text.
| |
| setInternalFilename | back to summary |
|---|---|
| protected void setInternalFilename(String file) Set the file name.
| |
| setInternalLabel | back to summary |
|---|---|
| protected void setInternalLabel(String text) Set the label.
| |
| setInternalRecursive | back to summary |
|---|---|
| protected void setInternalRecursive(boolean recurse) Set the recursive flag.
| |
| setInternalVersion | back to summary |
|---|---|
| protected void setInternalVersion(String text) Set the version.
| |
| setLocalPath | back to summary |
|---|---|
| public final void setLocalPath(Path path) Override the working directory and get to the specified path.
| |
| setNoCache | back to summary |
|---|---|
| public final void setNoCache(boolean nocache) Flag to disable the cache when set. Required if SOSHOME is set as an environment variable. Defaults to false.
| |
| setNoCompress | back to summary |
|---|---|
| public final void setNoCompress(boolean nocompress) Flag to disable compression when set. Defaults to false.
| |
| setPassword | back to summary |
|---|---|
| public final void setPassword(String password) The SourceSafe password.
| |
| setProjectPath | back to summary |
|---|---|
| public final void setProjectPath(String projectpath) The SourceSafe project path.
| |
| setSosCmd | back to summary |
|---|---|
| public final void setSosCmd(String dir) The directory where soscmd(.exe) is located. soscmd must be on the path if omitted.
| |
| setSosHome | back to summary |
|---|---|
| public final void setSosHome(String sosHome) Path to the SourceOffSite home directory.
| |
| setSosServerPath | back to summary |
|---|---|
| public final void setSosServerPath(String sosServerPath) The address and port of SourceOffSite Server, for example 192.168.0.1:8888.
| |
| setUsername | back to summary |
|---|---|
| public final void setUsername(String username) The SourceSafe username.
| |
| setVerbose | back to summary |
|---|---|
| public void setVerbose(boolean verbose) Enable verbose output. Defaults to false.
| |
| setVssServerPath | back to summary |
|---|---|
| public final void setVssServerPath(String vssServerPath) The path to the location of the ss.ini file.
| |