public void getServerFilesManagers( final Ref<SvnServerFileManager> systemManager, final Ref<SvnServerFileManager> userManager) { // created only if does not exist final File dir = new File(getConfigurationDirectory()); if (!dir.exists()) { SVNConfigFile.createDefaultConfiguration(dir); } systemManager.set( new SvnServerFileManagerImpl( new IdeaSVNConfigFile( new File(SVNFileUtil.getSystemConfigurationDirectory(), SERVERS_FILE_NAME)))); initServers(); userManager.set(new SvnServerFileManagerImpl(myConfigFile)); }
private void setConfigurationDirectory(String path) { myConfigurationDirectory = path; File dir = path == null ? new File(IdeaSubversionConfigurationDirectory.getPath()) : new File(path); SVNConfigFile.createDefaultConfiguration(dir); }