buildframework/helium/sf/python/pythoncore/lib/integration/ant.py
changeset 628 7c4a911dc066
parent 587 85df38eb4012
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
    44                 parser.parse()
    44                 parser.parse()
    45             
    45             
    46         for filename in components_per_file.keys():
    46         for filename in components_per_file.keys():
    47             if len(components_per_file[filename]) > 1:
    47             if len(components_per_file[filename]) > 1:
    48                 output.write("    <file name=\"%s\">\n" % filename)
    48                 output.write("    <file name=\"%s\">\n" % filename)
    49                 output.write("".join(map(lambda x: "        <component name=\"%s\"/>\n" % x, components_per_file[filename])))
    49                 output.write("".join(["        <component name=\"%s\"/>\n" % x for x in components_per_file[filename]]))
    50                 output.write("    </file>\n")
    50                 output.write("    </file>\n")
    51         output.write("</buildconflicts>\n")
    51         output.write("</buildconflicts>\n")
    52         output.close()
    52         output.close()
    53     except Exception, exc:
    53     except Exception, exc:
    54         task.log('ERROR: %s' % exc)
    54         task.log('ERROR: %s' % exc)