final String systemBaseDirectory =
JFreeReportBoot.getInstance().getGlobalConfig().getConfigProperty
(SYSTEM_BASEDIR_CONFIG_KEY, "~/.jfreereport/system");
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