private void copyProject(String projectName) throws Exception {
ProjectCopier copier = new ProjectCopier(projectManager);
ProjectLocation fromLoc = new ProjectLocation(projectName, locationOfUnpackedProject);
ProjectLocation toLoc = new ProjectLocation(projectName, new File(destinationFolder,
locationOfUnpackedProject.getName()));
copier.copy(fromLoc, toLoc);
}
private void closeUnpackedProject() {
try {
ManagedProject mp = unpackedProject.getExtensionObject(ManagedProject.class);