//------------------------
// Setup the command
//------------------------
CommitCommand command = new CommitCommand();
command.setBuilder(null);
command.setRecursive(true);
if (aFiles != null)
{
logger.info("SETTING FILES: ");
for (int i = 0; i < aFiles.length; i ++)
{
logger.info("- " + aFiles[i].getAbsolutePath());
}
command.setFiles(aFiles);
}
if (aTagName != null)
{
command.setToRevisionOrBranch(aTagName);
}
logger.info("CVS COMMAND: " + command.getCVSCommand());
//------------------------
// Execute the command
//------------------------