DeploymentPlanArchive dpa = new DeploymentPlanArchive();
dpa.open(request.getDeploymentPlan().getAbsolutePath());
if (request.isApplication()) {
ApplicationArchivist aa = (ApplicationArchivist)archivist;
aa.copyInto(request.getDescriptor(), dpa, in, false);
} else {
archivist.copyInto(dpa, in, false);
}
}