# HG changeset patch # User Brendan Donegan brendand@symbian.org # Date 1251294058 -3600 # Node ID e7e26750f3836250f9d57f600160c7753b5ec53d # Parent 72b4f11581d3e91c4c9a20c961ffdaf652149da2# Parent d4dac57985d974335e9d2ec286724c8a243008af Caught up diff -r 72b4f11581d3 -r e7e26750f383 common/build.postbuild.xml --- a/common/build.postbuild.xml Mon Aug 24 14:41:17 2009 +0100 +++ b/common/build.postbuild.xml Wed Aug 26 14:40:58 2009 +0100 @@ -301,7 +301,7 @@ - + diff -r 72b4f11581d3 -r e7e26750f383 common/build.xml --- a/common/build.xml Mon Aug 24 14:41:17 2009 +0100 +++ b/common/build.xml Wed Aug 26 14:40:58 2009 +0100 @@ -175,7 +175,7 @@ - + @@ -291,8 +291,8 @@ - - [SF-TAG-BUILD] + + [SF-DIAMONDS-TAG-BUILD] ant: antProperties() diff -r 72b4f11581d3 -r e7e26750f383 common/common_props.ant.xml --- a/common/common_props.ant.xml Mon Aug 24 14:41:17 2009 +0100 +++ b/common/common_props.ant.xml Wed Aug 26 14:40:58 2009 +0100 @@ -4,8 +4,6 @@ - - diff -r 72b4f11581d3 -r e7e26750f383 common/diamonds/config.xml.ftl --- a/common/diamonds/config.xml.ftl Mon Aug 24 14:41:17 2009 +0100 +++ b/common/diamonds/config.xml.ftl Wed Aug 26 14:40:58 2009 +0100 @@ -71,7 +71,7 @@ defer="true"/> - + diff -r 72b4f11581d3 -r e7e26750f383 common/tools/populateziptemplate.pl --- a/common/tools/populateziptemplate.pl Mon Aug 24 14:41:17 2009 +0100 +++ b/common/tools/populateziptemplate.pl Wed Aug 26 14:40:58 2009 +0100 @@ -33,7 +33,7 @@ } # Load CSV -open my $csvText, "<", $sourcesCSV or die; +open my $csvText, "<", $sourcesCSV or die "Unable to open sources.csv from $sourcesCSV"; my $csv = Text::CSV->new(); my @keys; my @packages; @@ -68,9 +68,11 @@ my $keyAttr = { config => "name", name => "set"}; # Load template my $xml = XML::Simple->new(); -my $zipConfig = $xml->XMLin($template, KeyAttr => $keyAttr); +my $zipConfig = $xml->XMLin($template, keyattr => $keyAttr); my @allRndFiles; +my $failures = 0; + # For each package in CSV... foreach my $package (@packages) { @@ -140,7 +142,8 @@ } else { - die "Cannot determine license for '$package->{source}'"; + warn "Cannot determine license for '$package->{source}'\n"; + $failures++; } } @@ -148,9 +151,11 @@ my @excludes = map { {name => "exclude", value => "$_"} } @allRndFiles; push @{$zipConfig->{config}->{config}->{bin}->{config}->{set}}, @excludes; -$xml->XMLout($zipConfig, OutputFile => $ftl, XMLDecl => 1, RootName => 'build', KeyAttr => $keyAttr); +$xml->XMLout($zipConfig, OutputFile => $ftl, XMLDecl => 1, RootName => 'build', keyattr => $keyAttr); # Output all rnd files into exclude list for later open my $fh, ">", $rndExcludes or die "Cannot write exlude file!"; print $fh @allRndFiles; close $fh; + +exit($failures); diff -r 72b4f11581d3 -r e7e26750f383 sf-package/package_props.ant.xml --- a/sf-package/package_props.ant.xml Mon Aug 24 14:41:17 2009 +0100 +++ b/sf-package/package_props.ant.xml Wed Aug 26 14:40:58 2009 +0100 @@ -4,6 +4,8 @@ + + diff -r 72b4f11581d3 -r e7e26750f383 sf-platform/build.xml --- a/sf-platform/build.xml Mon Aug 24 14:41:17 2009 +0100 +++ b/sf-platform/build.xml Wed Aug 26 14:40:58 2009 +0100 @@ -17,11 +17,48 @@ --> - + [SF-BUILD-NOPREP] (platform) [SF-BUILD-NOPREP] WARNING: Not generating model from packages + + + + [SF-platform-bootstrap-gt] Warning: hard-coded to tb91! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +