diff -r c7c26511138f -r 7c4a911dc066 buildframework/helium/tools/compile/compile.ant.xml --- a/buildframework/helium/tools/compile/compile.ant.xml Wed Jun 16 16:51:40 2010 +0300 +++ b/buildframework/helium/tools/compile/compile.ant.xml Fri Aug 13 14:59:05 2010 +0300 @@ -34,7 +34,48 @@ @editable required @scope public --> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -81,7 +157,7 @@ - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -167,6 +300,7 @@ + + + + @@ -220,7 +357,7 @@ - + @@ -302,7 +439,7 @@ - + @@ -329,7 +466,7 @@ Only generate the log.xml if we want the results to be included in the final results or get them used by the signaling mechanism. --> - + @@ -337,7 +474,7 @@ - @@ -374,70 +511,6 @@ - - - - 1 and self.component != None and attrs.get('priority', None) != None: - if attrs.get('priority') in self.components[self.component]: - self.components[self.component][attrs.get('priority')] += 1 - - def endElement(self, name): - if name == 'log': - self.scanLog = False - self.level = 0 - self.component = None - elif name == 'task': - self.level = self.level - 1 - - -parser = make_parser() -diamondsSummary = DiamondsSummary() -parser.setContentHandler(diamondsSummary) -parser.parse(open(str(project.getProperty('build.summary.file')))) - -output = '\n\n' -output += '\n' -for name in diamondsSummary.components: - xname = quoteattr(name) - output += '\n' % (xname, diamondsSummary.components[name]['error'], diamondsSummary.components[name]['critical'], diamondsSummary.components[name]['warning']) - #print name + " ==> %d" % diamondsSummary.components[name]['error'] -output += '\n' -output += '\n' % (diamondsSummary.total['error'], diamondsSummary.total['critical'], diamondsSummary.total['warning']) -output += '\n' -self.log(str("Writing %s" % str(attributes.get('output')))) -f = open(str(attributes.get('output')), 'w+') -f.write(output) - ]]> - @@ -511,4 +584,6 @@ + +