project path should be absolute (IDEA-110638)

This commit is contained in:
peter
2013-07-29 14:29:02 +02:00
parent d56b4faae5
commit 6324c85eaf
@@ -292,7 +292,7 @@ public class ProjectManagerImpl extends ProjectManagerEx implements NamedJDOMExt
boolean isDefault,
boolean isOptimiseTestLoadSpeed) {
return isDefault ? new DefaultProject(this, "", isOptimiseTestLoadSpeed, projectName)
: new ProjectImpl(this, filePath, isOptimiseTestLoadSpeed, projectName);
: new ProjectImpl(this, new File(filePath).getAbsolutePath(), isOptimiseTestLoadSpeed, projectName);
}
private static void scheduleDispose(final ProjectImpl project) {