String query = "status='working' and release='" + release + "' and is_member_of('" + projectSpec + "')";
Commandline cl = SynergyCCM.query( query, SynergyGetWorkingFilesConsumer.OUTPUT_FORMAT, ccmAddr );
CommandLineUtils.StringStreamConsumer stderr = new CommandLineUtils.StringStreamConsumer();
SynergyGetWorkingFilesConsumer stdout = new SynergyGetWorkingFilesConsumer( logger );
int errorCode = executeSynergyCommand( logger, cl, stderr, stdout, false );
if ( logger.isDebugEnabled() )
{
logger.debug( "Synergy : getWorkingFiles returns " + stdout.getFiles().size() + " files with code "
+ errorCode );
}
return stdout.getFiles();
}