public static File getSystemConfigurationDirectory() { if (isWindows) { return new File(getSystemApplicationDataPath(), "Subversion"); } else if (isOpenVMS) { return new File("/sys$config", "subversion").getAbsoluteFile(); } return new File("/etc/subversion"); }
public static File getSystemConfigurationDirectory() { if (isWindows) { return new File(getSystemApplicationDataPath(), "Subversion"); } else if (isOpenVMS) { return new File("/sys$config", "subversion").getAbsoluteFile(); } return new File("/etc/subversion"); }
public static File getSystemConfigurationDirectory() { if (isWindows) { return new File(getSystemApplicationDataPath(), "Subversion"); } else if (isOpenVMS) { return new File("/sys$config", "subversion").getAbsoluteFile(); } return new File("/etc/subversion"); }
public static File getApplicationDataPath() { if (ourAppDataPath != null) { return ourAppDataPath; } // String jnaAppData = SVNJNAUtil.getApplicationDataPath(false); // if (jnaAppData != null) { // ourAppDataPath = new File(jnaAppData); // return ourAppDataPath; // } String envAppData = getEnvironmentVariable("APPDATA"); if (envAppData == null) { // no appdata for that user, fallback to system one. ourAppDataPath = getSystemApplicationDataPath(); } else { ourAppDataPath = new File(envAppData); } return ourAppDataPath; }
public static File getApplicationDataPath() { if (ourAppDataPath != null) { return ourAppDataPath; } String jnaAppData = SVNJNAUtil.getApplicationDataPath(false); if (jnaAppData != null) { ourAppDataPath = new File(jnaAppData); return ourAppDataPath; } String envAppData = getEnvironmentVariable("APPDATA"); if (envAppData == null) { // no appdata for that user, fallback to system one. ourAppDataPath = getSystemApplicationDataPath(); } else { ourAppDataPath = new File(envAppData); } return ourAppDataPath; }
public static File getApplicationDataPath() { if (ourAppDataPath != null) { return ourAppDataPath; } String jnaAppData = SVNJNAUtil.getApplicationDataPath(false); if (jnaAppData != null) { ourAppDataPath = new File(jnaAppData); return ourAppDataPath; } String envAppData = getEnvironmentVariable("APPDATA"); if (envAppData == null) { // no appdata for that user, fallback to system one. ourAppDataPath = getSystemApplicationDataPath(); } else { ourAppDataPath = new File(envAppData); } return ourAppDataPath; }