/** * @return the runtime repository folder for maven artifacts. */ private static File getRuntimeRepositoryFolder() { return new File(MuleFoldersUtil.getMuleBaseFolder(), "repository"); }
/** * @return a {@link File} pointing to the container folder that contains services. */ public static File getServicesFolder() { return new File(getMuleBaseFolder(), SERVICES_FOLDER); }
/** * @return a {@link File} pointing to the folder where the server configuration is located. */ public static File getConfFolder() { return new File(getMuleBaseFolder(), CONF); }
/** * @return relative path for libraries on an application */ public static File getExecutionFolder() { return new File(getMuleBaseFolder(), EXECUTION_FOLDER); }
/** * @return a {@link File} pointing to the folder where server plugins are located. */ public static File getServerPluginsFolder() { return new File(getMuleBaseFolder(), SERVER_PLUGINS); }
public static File getContainerAppPluginsFolder() { return new File(getMuleBaseFolder(), CONTAINER_APP_PLUGINS); }
public static File getDomainsFolder() { return new File(getMuleBaseFolder(), DOMAINS_FOLDER); }
public static File getAppsFolder() { return new File(getMuleBaseFolder(), APPS_FOLDER); }
.dependingOn(echoPlugin); File mavenRepoFolder = Paths.get(getMuleBaseFolder().getAbsolutePath(), "repository").toFile(); File testGroupIdRepoFolder = Paths.get(mavenRepoFolder.getAbsolutePath(), "org", "mule", "test").toFile();
/** * @return the runtime repository folder for maven artifacts. */ private static File getRuntimeRepositoryFolder() { return new File(MuleFoldersUtil.getMuleBaseFolder(), "repository"); }
/** * Creates a folder for this service to upload tooling applications. * * @return {@link File} working folder. * @throws InitialisationException if there was an error while creating the folder. */ private File createToolingServiceAppsFolder() throws InitialisationException { File toolingServiceAppsFolder = new File(new File(getMuleBaseFolder(), MULE_TMP_FILENAME), TOOLING_APPS_FOLDER); if (!toolingServiceAppsFolder.exists()) { boolean folderCreated = toolingServiceAppsFolder.mkdirs(); if (!folderCreated) { throw new InitialisationException(createStaticMessage("Couldn't start up the service"), new IOException("Couldn't create tooling service resources folder: " + toolingServiceAppsFolder), this); } if (logger.isDebugEnabled()) { logger.debug("Create tooling service resources folder at: " + toolingServiceAppsFolder); } } else { try { cleanDirectory(toolingServiceAppsFolder); } catch (IOException e) { logger.warn("Could not clean up tooling service resources folder at: " + toolingServiceAppsFolder); } } return toolingServiceAppsFolder; }
.dependingOn(echoPlugin); File mavenRepoFolder = Paths.get(getMuleBaseFolder().getAbsolutePath(), "repository").toFile(); File testGroupIdRepoFolder = Paths.get(mavenRepoFolder.getAbsolutePath(), "org", "mule", "test").toFile();