code: private void readResources(Project ganttProject)
     {
        Resources resources = ganttProject.getResources();
        readResourceCustomPropertyDefinitions(resources);
        readRoleDefinitions(ganttProject);
  
        for (net.sf.mpxj.ganttproject.schema.Resource gpResource : resources.getResource())
        {
           readResource(gpResource);
        }
     }
docs: This method extracts resource data from a GanttProject file.
  
  @param ganttProject parent node for resources