private void cleanupConfigurations(List configurations) {
LinkedList cannotBeDeletedList = new LinkedList();
for (Iterator iterator = configurations.iterator(); iterator.hasNext();) {
ConfigurationData configurationData = (ConfigurationData) iterator.next();
File dir = configurationData.getConfigurationDir();
cannotBeDeletedList.clear();
if (!DeploymentUtil.recursiveDelete(dir,cannotBeDeletedList)) {
// Output a message to help user track down file problem
log.warn("Unable to delete " + cannotBeDeletedList.size() +
" files while recursively deleting directory "
+ dir + LINE_SEP +