public static void createDesign(IFolder folder, String designKey, DesignTemplate designTemplate){
try {
FileUtils.unzip(designTemplate.getContent(), folder.getLocation().toFile());
// remove properties from project
folder.refreshLocal(IResource.DEPTH_ONE, new NullProgressMonitor());
IFile props = folder.getFile(DesignTemplate.PROPERTIES_FILENAME);
if (props.exists()) {
props.delete(true, new NullProgressMonitor());
}
DesignDefinition syncinfo = new DesignDefinition();
syncinfo.setDesignKey(designKey);
syncinfo.setFileEncoding(DesignDefinition.FILEENCODING_CSCONFIG_DEFINED);