mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
eclipse: write .classpath file if order entries were added (e.g. project library) (IDEA-26953)
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ public class EclipseClasspathStorageProvider implements ClasspathStorageProvider
|
||||
element = null;
|
||||
}
|
||||
|
||||
if (element != null || model.getSourceRoots().length > 0) {
|
||||
if (element != null || model.getSourceRoots().length > 0 || model.getOrderEntries().length > 2) {
|
||||
classpathWriter.writeClasspath(classpathElement, element);
|
||||
fileSet.write(new Document(classpathElement), EclipseXml.CLASSPATH_FILE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user