* For example:
*
* 'svn update --non-interactive filename'
*/
Commandline buildUpdateCommand() throws CruiseControlException {
Commandline command = new Commandline();
command.setExecutable("svn");
if (localWorkingCopy != null) {
command.setWorkingDirectory(localWorkingCopy);
}
command.createArgument().setValue("update");
command.createArgument().setValue("--non-interactive");
if (userName != null) {
command.createArgument().setValue("--username");
command.createArgument().setValue(userName);
}
if (password != null) {
command.createArgument().setValue("--password");
command.createArgument().setValue(password);
}
if (fileName != null) {
command.createArgument().setValue(fileName);
}
LOG.debug("SVNBootstrapper: Executing command = " + command);
return command;