form.setUnassignedResource(unassigned);
projityResources.add(unassigned);
Serializer serializer=new Serializer();
ProjectData projectData=(ProjectData)serializer.serialize(existingProject,ProjectData.FACTORY,null);
if (existingProject.isForceNonIncremental()) projectData.setVersion(0);
projectData.setMaster(existingProject.isMaster());
//resources
Map resourceMap=serializer.saveResources(existingProject,projectData);