# HG changeset patch # User Louis Henry Nayegon # Date 1247560201 -3600 # Node ID 60e228580ee89ec072949b036a5419d9e5b94d06 # Parent 516def754cd84520485b635483237b7e90965eca# Parent 52c893932513e1da0bfac21ca9246f2f2f6c6777 merge diff -r 516def754cd8 -r 60e228580ee8 common/build.xml --- a/common/build.xml Tue Jul 14 09:28:38 2009 +0100 +++ b/common/build.xml Tue Jul 14 09:30:01 2009 +0100 @@ -506,7 +506,7 @@ project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]}) baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim}) toolsbaseline: slicedText(${build.drive}/output/logs/BOM/toolsbaseline.txt,{trim}) - sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,rev]}) + sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,type,rev,sysdef]}) @@ -683,7 +683,6 @@ - diff -r 516def754cd8 -r 60e228580ee8 common/templates/build-info.xml.ftl --- a/common/templates/build-info.xml.ftl Tue Jul 14 09:28:38 2009 +0100 +++ b/common/templates/build-info.xml.ftl Tue Jul 14 09:30:01 2009 +0100 @@ -1,4 +1,7 @@ + +<#assign row = 0 /> + @@ -28,7 +31,10 @@ Sources <#list sources as s> + <#if (row!=0)> ${s.loc}#${s.rev} + + <#assign row = row + 1 /> diff -r 516def754cd8 -r 60e228580ee8 common/templates/source-spec.ant.xml.ftl --- a/common/templates/source-spec.ant.xml.ftl Tue Jul 14 09:28:38 2009 +0100 +++ b/common/templates/source-spec.ant.xml.ftl Tue Jul 14 09:30:01 2009 +0100 @@ -18,18 +18,34 @@ <#assign fileset = "${fileset}" /> + + + + + + + + + + - + + <#if "${pkg_detail.type}"=="tag" > - + - + + + <#if "${pkg_detail.type}"== "changeset" || "${pkg_detail.type}"=="branch"> + + + + - @@ -38,26 +54,21 @@ - - - - - + - + - - <#assign fileset = "${fileset}" + "" /> + <#assign fileset = "${fileset}" + "" /> <#assign sync_list = "${sync_list}" + "\n"/> <#assign bom_list = "${bom_list}" + "\n"/> <#assign count = count + 1 /> @@ -75,7 +86,13 @@ ${sync_list} - + + + + + + + ${bom_list} diff -r 516def754cd8 -r 60e228580ee8 common/tools/analysis/find_collisions.pl --- a/common/tools/analysis/find_collisions.pl Tue Jul 14 09:28:38 2009 +0100 +++ b/common/tools/analysis/find_collisions.pl Tue Jul 14 09:30:01 2009 +0100 @@ -135,30 +135,31 @@ { if(-e $left && -e $right) { - my $leftdiff = 0; - my $rightdiff = 0; - open(DIFF,"diff $left $target|") or die "couldn't execute diff"; - print "diff $left $target\n"; + my $leftdiff = 1; + my $rightdiff = 1; + open(DIFF,"fc $left $target|") or die "couldn't execute fc"; + print "fc $left $target\n"; while(my $line = ) { - if($line =~ m/\S+/) + + if($line =~ m/FC:\sno\sdifferences\sencountered/i) { - $leftdiff = 1; - print "\t$line"; + $leftdiff = 0; } + print "\t$line"; } close DIFF; - open(DIFF,"diff $right $target|") or die "couldn't execute diff"; - print "diff $right $target\n"; + open(DIFF,"fc $right $target|") or die "couldn't execute fc"; + print "fc $right $target\n"; while( my $line = ) { - if($line =~ m/\S+/) + if($line =~ m/FC:\sno\sdifferences\sencountered/i) { - $rightdiff = 1; - print "\t$line"; + $rightdiff = 0; } + print "\t$line"; } close DIFF;