File targetFolder = new File(getDeployDir(), relativePathToFolder);
if (delta.getKind() == IResourceDelta.ADDED) {
if (WGADesignerPlugin.getDefault().isDebugging()) {
System.out.println("Creating folder '" + targetFolder.getAbsolutePath() + "' in deployment '" + getName() + "'.");
}
targetFolder.mkdirs();
} else if (delta.getKind() == IResourceDelta.REMOVED) {
if (WGADesignerPlugin.getDefault().isDebugging()) {
System.out.println("Deleting folder '" + targetFolder.getAbsolutePath() + "' of deployment '" + getName() + "'.");
}
if (targetFolder.exists()) {