private String getFolderNumber(String folderName, String project) throws CruiseControlException {
// Get a list of folders in the project
ManagedCommandline cmd = CMSynergy.createCcmCommand(
getCcmExe(), getSessionName(), getSessionFile());
cmd.createArgument().setValue("reconfigure_properties");
cmd.createArgument().setValue("-u");
cmd.createArgument().setValue("-f");
cmd.createArgument().setValue(
"%description" + CMSynergy.CCM_ATTR_DELIMITER + "%name");
cmd.createArgument().setValue("-show");
cmd.createArgument().setValue("folders");