in src/main/org/apache/ant/vss/MSVSSSTATUS.java [29:53]
Commandline buildCmdLine() {
Commandline commandLine = new Commandline();
// first off, make sure that we've got a command and a vssdir...
if (getVsspath() == null) {
String msg = "vsspath attribute must be set!";
throw new BuildException(msg, getLocation());
}
// build the command line from what we got
// the format is:
// ss Status [VSS items] [-H] [-I-] [-N] [-O] [-P[project]] [-R] [-U[username]] [-Y] [-?]
// as specified in the SS.EXE help
commandLine.setExecutable(getSSCommand());
commandLine.createArgument().setValue(COMMAND_STATUS);
// VSS items (from)
commandLine.createArgument().setValue(getVsspath());
// -Y
commandLine.createArgument().setValue(getLogin());
// -I-
commandLine.createArgument().setValue(getAutoresponse());
// -U
commandLine.createArgument().setValue(getUser());
return commandLine;
}