org.apache.tools.ant.taskdefs.optional.sos

Class SOSCheckout

  • All Implemented Interfaces:
    java.lang.Cloneable, SOSCmd


    public class SOSCheckout
    extends SOS
    Retrieves and locks files in Visual SourceSafe via a SourceOffSite server.
    • Constructor Detail

      • SOSCheckout

        public SOSCheckout()
    • Method Detail

      • setFile

        public final void setFile(java.lang.String filename)
        The filename to act upon. If no file is specified then the task acts upon the project.
        Parameters:
        filename - The new file value
      • setRecursive

        public void setRecursive(boolean recursive)
        Flag to recursively apply the action. Defaults to false.
        Parameters:
        recursive - True for recursive operation.
      • buildCmdLine

        protected Commandline buildCmdLine()
        Build the command line

        CheckOutFile required parameters: -server -name -password -database -project -file
        CheckOutFile optional parameters: -workdir -verbose -nocache -nocompression -soshome
        CheckOutProject required parameters: -server -name -password -database -project
        CheckOutProject optional parameters:-workdir -recursive -verbose -nocache -nocompression -soshome

        Returns:
        Commandline the generated command to be executed