boolean dropOnly = getDropOnly();
ApplicationArguments.initialize(new String[0]);
ResourceBundle bundle = ResourceBundle.getBundle(props);
String prefsDir = bundle.getString("prefsDir");
System.out.println("Reading preferences from prefs.xml in "+prefsDir);
IPlugin plugin = new MockPlugin(prefsDir);
PreferencesManager.initialize(plugin);
prefs = PreferencesManager.getPreferences();
System.out.println("Copying primary keys: "+prefs.isCopyPrimaryKeys());
MockSessionInfoProvider provider = new MockSessionInfoProvider(args[0], dropOnly);