FitNesseVersion version = new FitNesseVersion();
updateFitNesseProperties(version);
WikiPageFactory wikiPageFactory = (WikiPageFactory) componentFactory.createComponent(WIKI_PAGE_FACTORY_CLASS, FileSystemPageFactory.class);
if (versionsController == null) {
versionsController = (VersionsController) componentFactory.createComponent(VERSIONS_CONTROLLER_CLASS, ZipFileVersionsController.class);
Integer versionDays = getVersionDays();
if (versionDays != null) {
versionsController.setHistoryDepth(versionDays);
}
}
if (recentChanges == null) {
recentChanges = (RecentChanges) componentFactory.createComponent(RECENT_CHANGES_CLASS, RecentChangesWikiPage.class);
}
if (root == null) {
root = wikiPageFactory.makePage(new File(rootPath, rootDirectoryName), rootDirectoryName, null);
}
PluginsLoader pluginsLoader = new PluginsLoader(componentFactory);
if (logger == null) {