eclipse: if classpathDir was not set try with baseModulePath (IDEA-97561)

This commit is contained in:
anna
2012-12-17 13:29:16 +01:00
parent 125ba5424d
commit ef6fb60214
@@ -41,6 +41,7 @@ public class JpsEclipseClasspathSerializer extends JpsModuleClasspathSerializer
final JpsDependenciesList dependenciesList = module.getDependenciesList();
dependenciesList.clear();
try {
if (classpathDir == null) classpathDir = baseModulePath;
final File classpathFile = new File(classpathDir, EclipseXml.DOT_CLASSPATH_EXT);
if (!classpathFile.exists()) return; //no classpath file - no compilation