mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed FileNotFoundException
This commit is contained in:
@@ -148,6 +148,7 @@ public class ProjectFacetInfoSet extends FacetInfoSet<Module> {
|
||||
Element element = XmlSerializer.serialize(facetsBean, new SkipDefaultValuesSerializationFilters());
|
||||
try {
|
||||
FileUtil.delete(file);
|
||||
FileUtil.createParentDirs(file);
|
||||
JDOMUtil.writeDocument(new Document(element), file, SystemProperties.getLineSeparator());
|
||||
}
|
||||
catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user