mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-11255: schema dumper bugfix: added app context shutdown call.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31694 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -93,8 +93,14 @@ public class DbToXML
|
||||
}
|
||||
String contextPath = args[0];
|
||||
File outputFile = new File(args[1]);
|
||||
ApplicationContext context = new FileSystemXmlApplicationContext(contextPath);
|
||||
|
||||
// Create the Spring context
|
||||
FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(contextPath);
|
||||
DbToXML dbToXML = new DbToXML(context, outputFile);
|
||||
|
||||
dbToXML.execute();
|
||||
|
||||
// Shutdown the Spring context
|
||||
context.close();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user