axiom-core/src/main/java/org/axiom/integration/Environment.java
public static void prepareFileSystem(final Configuration config) {
        final File axiomHome = new File(config.getString(AXIOM_HOME));
        final File routeScriptsDir = new File(config.getString(SCRIPT_REPOSITORY_URI));
        final String endorsedPlugins = config.getString(ENDORSED_PLUGINS);

        ensureDirectory(axiomHome);
        ensureDirectory(routeScriptsDir);
        for (final String path : endorsedPlugins.split(File.pathSeparator)) {
            if (StringUtils.isNotEmpty(path)) {
                ensureDirectory(new File(path));
            }
        }
    }
/**
     * Ensures that the file system is properly configured, based on the supplied
     * properties (e.g., checks that the configured {@code axiom.home} directory
     * exists, etc).
     * @param config The configuration settings to use.
     */
Ensures that the file system is properly configured, based on the supplied
properties .
@param config The configuration settings to use.
Ensures that the file system is properly configured based on the supplied properties . @param config The configuration settings to use .
public static void prepareFileSystem(final Configuration config) {
        final File axiomHome = new File(config.getString(AXIOM_HOME));
        final File routeScriptsDir = new File(config.getString(SCRIPT_REPOSITORY_URI));
        final String endorsedPlugins = config.getString(ENDORSED_PLUGINS);
        ensureDirectory(axiomHome);
        ensureDirectory(routeScriptsDir);
        for (final String path : endorsedPlugins.split(File.pathSeparator)) {
            if (StringUtils.isNotEmpty(path)) {
                ensureDirectory(new File(path));
            }
        }
    }
public static void prepareFileSystem ( final Configuration config ) { final File axiomHome = new File ( config . getString ( AXIOM_HOME ) ) ; final File routeScriptsDir = new File ( config . getString ( SCRIPT_REPOSITORY_URI ) ) ; final String endorsedPlugins = config . getString ( ENDORSED_PLUGINS ) ; ensureDirectory ( axiomHome ) ; ensureDirectory ( routeScriptsDir ) ; for ( final String path : endorsedPlugins . split ( File . pathSeparator ) ) { if ( StringUtils . isNotEmpty ( path ) ) { ensureDirectory ( new File ( path ) ) ; } } }
Ensures that the file system is properly configured, based on the supplied
 properties (e.g., checks that the configured {@code axiom.home} directory
 exists, etc).
Ensures that the file system is properly configured based on the supplied properties ( e . g . checks that the configured { @code axiom . home } directory exists etc ) .