private static Path getWindupSubdirectory(String subdirectory) { Path windupHome = getWindupHome(); if (windupHome == null) return null; return windupHome.resolve(subdirectory); } }
private static Path getWindupSubdirectory(String subdirectory) { Path windupHome = getWindupHome(); if (windupHome == null) return null; return windupHome.resolve(subdirectory); } }
private static File getDefaultFile() throws IOException { Path helpDirectory = PathUtil.getWindupHome().resolve("cache").resolve("help"); if (!Files.exists(helpDirectory)) Files.createDirectories(helpDirectory); Path helpPath = helpDirectory.resolve("help.xml"); return helpPath.toFile(); }
private static File getDefaultFile() throws IOException { Path helpDirectory = PathUtil.getWindupHome().resolve("cache").resolve("help"); if (!Files.exists(helpDirectory)) Files.createDirectories(helpDirectory); Path helpPath = helpDirectory.resolve("help.xml"); return helpPath.toFile(); }
Path binDir = PathUtil.getWindupHome().resolve(PathUtil.BINARY_DIRECTORY_NAME); Path libDir = PathUtil.getWindupHome().resolve(PathUtil.LIBRARY_DIRECTORY_NAME); Path rulesDir = PathUtil.getWindupHome().resolve(PathUtil.RULES_DIRECTORY_NAME); //PathUtil.getWindupRulesDir(); File coreDir = rulesDir.resolve(RulesetsUpdater.RULESET_CORE_DIRECTORY).toFile();
private void generateCompletionData(boolean overwrite) Path completionPath = PathUtil.getWindupHome().resolve("cache").resolve("bash-completion").resolve("bash-completion.data"); if (!overwrite && Files.isRegularFile(completionPath))
private void generateCompletionData(boolean overwrite) Path completionPath = PathUtil.getWindupHome().resolve("cache").resolve("bash-completion").resolve("bash-completion.data"); if (!overwrite && Files.isRegularFile(completionPath))