SettingResolver resolver = SettingUtil.getStandardResolver();
resolver.clearProvider(SYSTEM_PROVIDER);
resolver.clearProvider(ROOTDIR_PROVIDER);
// The Standard system property provider provides access to system properties
SystemPropertyProvider systemPropertyProvider = SystemPropertyProvider.getInstance();
resolver.addProvider(SYSTEM_PROVIDER, systemPropertyProvider, 50);
// The rootdir provider provider will supply the root directory setting
resolver.addProvider(ROOTDIR_PROVIDER, rootDirProvider, 70);
}