public JitterPack createJitterPack(String name, File rootDirectory, File target, boolean includeClientSpecificData)
throws InterchangeLoadingException, UnsupportedVersionException, JitterPackException {
ManagedProjectImpl mp = projectLoader.loadProjectSilently(name, rootDirectory);
try {
String comment = "Backup copy, created at " + new Date() + ".";
ExportParameters params = getExportParameters(rootDirectory, includeClientSpecificData);
Exporter exporter = createExporter(params);
return exporter.pack(mp, comment, target, params);
} finally {
mp.close();
}