+ public synchronized void parseFile(String filename, String filetype, String family, Node root) {\r
+ //\r
+ // Filter file with family. Only family is specified in source file and\r
+ // not include current family will skip the file. \r
+ //\r
+ String toolCode = getToolCodeByFileType(filetype);\r
+ if (family != null && !family.trim().equalsIgnoreCase("")) {\r
+ String toolChainFamily = project.getProperty(toolCode + "_FAMILY");\r
+ if (toolChainFamily != null) {\r
+ if(!toolChainFamily.equalsIgnoreCase(family)) {\r
+ return ;\r
+ }\r
+ }\r
+ }\r
+ \r