project.setLocal(true);
resourcePool.setLocal(true);
resourcePool.setMaster(false);
resourcePool.updateOutlineTypes();
ResourceImpl openprojResource;
OpenprojResourceConverter converter=new OpenprojResourceConverter();
for (com.projectlibre.pm.resources.Resource plResource : plProject.getResourcePool().getResources()){
openprojResource = resourcePool.newResourceInstance();
converter.to(openprojResource,plResource,state);
state.mapOpenprojResource(plResource, openprojResource);
// Add to resource hierarchy. MSProject does not actually have a hierarchy
Node openprojResourceNode = NodeFactory.getInstance().createNode(openprojResource); // get a node for this resource
resourcePool.addToDefaultOutline(null,openprojResourceNode);
state.mapOpenprojResourceNode(openprojResource, openprojResourceNode);