final String systemBaseDirectory =
ClassicEngineBoot.getInstance().getGlobalConfig().getConfigProperty
(FileConfigStoreModuleInitializer.SYSTEM_BASEDIR_CONFIG_KEY, "~/.pentaho/classic-engine/system"); //$NON-NLS-1$
final ConfigFactory factory = ConfigFactory.getInstance();
factory.defineUserStorage(new FileConfigStorage(getStoragePath(userBaseDirectory)));
factory.defineSystemStorage(new FileConfigStorage(getStoragePath(systemBaseDirectory)));
}
/**
* Tries to fint the specified directory and creates a new one if the directory does not yet exist. An occurence of