initProperties.put("page.manager.constraints.security", "false");
scm = new SpringComponentManager(filter, bootConfig, appConfig, applicationRootPath, initProperties, true);
scm.start();
PageSerializer serializer = (PageSerializer)scm.getComponent(PageSerializer.class.getName());
if (importing)
{
result = serializer.importPages(logger, rootFolder);
}
else
{
result = serializer.exportPages(logger, rootFolder);
}
}
catch (Exception e)
{
logger.error(e);