throws IllegalDataFormatException,
UnpackException,
UnsupportedVersionException {
logUnpackRequest(jitterPack, destination);
try {
JitterPackDescriptor descriptor = extractDescriptor(jitterPack);
checkVersion(descriptor);
String projectFolderName = descriptor.getFolderName();
File projectFolder = clearDestinationFolder(destination, projectFolderName);
createAndUnzipProjectFolder(jitterPack, destination);
String projectName = descriptor.getProjectName();
String comment = descriptor.getComment();
return new ProjectDescriptor(projectName, projectFolder, comment);
} catch (KongaZipException ex) {
UnpackException ex2 = new UnpackException("An error occurred when unpacking the "
+ JitterPackConstants.SINGULAR + ": " + ex.getMessage(), ex);
logUnpackException(ex2);