Configuration config = (Configuration)scm.getComponent("portal_configuration");
if (config != null)
{
new JetspeedActions(config.getStringArray(PortalConfigurationConstants.SUPPORTED_PORTLET_MODES), config.getStringArray(PortalConfigurationConstants.SUPPORTED_WINDOW_STATES));
}
JetspeedSerializer serializer = (JetspeedSerializer)scm.getComponent(JetspeedSerializer.class.getName());
HashMap settings = new HashMap();
settings.put(JetspeedSerializer.KEY_LOGGER, logger);
if (exportFile != null)
{
if (exportName == null)
{
exportName = JetspeedSerializer.DEFAULT_TAG_SNAPSHOT_NAME;
}
serializer.exportData(exportName, exportFile, settings);
}
scm.stop();
}
catch (Exception e)
{