\r
}\r
\r
- //map.put("FrameworkPlatformDescription", fpdDocInstance);\r
- //SurfaceAreaQuery.setDoc(map); \r
Map<FpdModuleIdentification,XmlObject>pcdBuildDef = GlobalData.getFpdModuleSaXmlObject(CollectPCDAction.xmlObjectName);\r
Set<FpdModuleIdentification> pcdBuildKeySet = pcdBuildDef.keySet();\r
Iterator item = pcdBuildKeySet.iterator();\r
while (item.hasNext()){\r
- FpdModuleIdentification id = (FpdModuleIdentification)item.next();\r
- try {\r
- allModules.add(new ModuleInfo(id, id.getModule().getModuleType(),pcdBuildDef.get(id))); \r
- } catch (Exception e){\r
- System.out.println(e.getMessage());\r
- //EdkLog.log(EdkLog.EDK_INFO,e.getMessage());\r
- }\r
- \r
- \r
- }\r
-// //modules = SurfaceAreaQuery.getFpdModuleSAs();\r
-// for (index = 0; index < modules.length; index ++) {\r
-// //SurfaceAreaQuery.setDoc(GlobalData.getDoc(modules[index].getModuleName()));\r
-// allModules.add(new ModuleInfo(modules[index], \r
-// ModuleTypeDef.Enum.forString(SurfaceAreaQuery.getModuleType())));\r
-// }\r
+ FpdModuleIdentification id = (FpdModuleIdentification)item.next();\r
+ allModules.add(new ModuleInfo(id, id.getModule().getModuleType(),pcdBuildDef.get(id))); \r
+ }\r
\r
return allModules;\r
}\r