# HG changeset patch # User Matt Davies # Date 1248868299 -3600 # Node ID 2796eb7c8c4175597ab29fa37e755e6fb450fa29 # Parent e5f3b53baae0ef9d6eb8f4f70c18d60baf72b712# Parent 4dfae3e0480877fc68b06db7e3ae93cd3bacc3aa catchup merge diff -r 4dfae3e04808 -r 2796eb7c8c41 common/build.xml --- a/common/build.xml Wed Jul 29 12:26:02 2009 +0100 +++ b/common/build.xml Wed Jul 29 12:51:39 2009 +0100 @@ -875,7 +875,7 @@ - + diff -r 4dfae3e04808 -r 2796eb7c8c41 common/tools/analysis/yarp.pl --- a/common/tools/analysis/yarp.pl Wed Jul 29 12:26:02 2009 +0100 +++ b/common/tools/analysis/yarp.pl Wed Jul 29 12:51:39 2009 +0100 @@ -71,11 +71,23 @@ my $failures = 0; while( my $line = ) { + if(defined $recipe) + { + if(defined $recipe->{'content'}) + { + my $ref = $recipe->{'content'}; + push(@$ref, $line); + } + } ++$counter; if($line =~ m/^/) { $recipe = XMLin($line.""); $recipe->{'line'} = $counter; + my @content; + push(@content, $line); + $recipe->{'content'} = \@content; + # print Dumper($recipe); } elsif($line =~ m/<\/recipe>/) @@ -160,7 +172,12 @@ } print OUT ","; } - print OUT "\n"; + print OUT "\n"; + my $content = $recipe->{'content'}; + for my $line (@$content) + { + print $line; + } #print Dumper($recipe); }