void (String path) { myProjectHomePath = FileUtilRt.toSystemIndependentName(path); if (myProjectHomePath.endsWith(".ipr")) { myProjectHomePath = PathUtil.getParentPath(myProjectHomePath); } try { JpsProjectLoader.loadProject(myProject, getPathVariables(), Paths.get(path)); } catch (IOException e) { throw new RuntimeException(e); } }