File target = getTargetFile(projectName);
if (target == null) {
return false;
}
try {
ProjectManager pm = Application.getBean("platform.ProjectManager", ProjectManager.class);
pm.createJitterPack(projectName, location, target, true);
return true;
} catch (Exception ex) {
ErrorLog.attention(getClass(), "Failed to create the project backup.", ex);
return false;
}