# HG changeset patch # User MattD # Date 1250069424 -3600 # Node ID 52d855dfda13528ab06dcdc403e39b59abffa660 # Parent 97c01977a87bd0c5c323e4f21fd2e83397a50c7f Changed 'publish' to 'sf-publish' to only publish the zips, not all logs. Changed behaviour so that 'sf.spec.package.src.enable'=false stops the source repos from getting packaged, but not the RnD ones (which are extracted again in platform builds) diff -r 97c01977a87b -r 52d855dfda13 common/build.xml --- a/common/build.xml Wed Aug 12 10:24:42 2009 +0100 +++ b/common/build.xml Wed Aug 12 10:30:24 2009 +0100 @@ -98,6 +98,7 @@ + @@ -329,15 +330,8 @@ - - - - - - - - - + + @@ -409,11 +403,17 @@ - + + + + + + + @@ -591,12 +591,24 @@ + + + + + + + + + + + + @@ -774,7 +786,12 @@ - + + + + + + @@ -1078,6 +1095,6 @@ - + diff -r 97c01977a87b -r 52d855dfda13 common/tools/populateziptemplate.pl --- a/common/tools/populateziptemplate.pl Wed Aug 12 10:24:42 2009 +0100 +++ b/common/tools/populateziptemplate.pl Wed Aug 12 10:30:24 2009 +0100 @@ -26,7 +26,11 @@ my $template = shift or die "Second arg must be template file"; my $ftl = shift or die "Third arg must be output file"; my $rndExcludes = shift or die "Fourth arg must be rnd-excludes file"; -shift and die "No more than four arguments please"; +my $nosource = shift; +if(defined $nosource && $nosource !~ m/--nosource/i) +{ + die "fifth argument can only be \'--nosource\'"; +} # Load CSV open my $csvText, "<", $sourcesCSV or die; @@ -73,21 +77,24 @@ warn "Warning: Package $package->{dst} does not appear on the local system\n" unless -d $package->{dst}; $package->{dst} =~ s{^/}{}g; if ($package->{source} =~ m{/(sfl|oss)/(MCL|FCL)/sf/([^/]+)/([^/]+)}) - { - push @{$zipConfig->{config}->{config}->{src}->{config}->{$1}->{config}}, - { - set => - [ - { - name => "name", - value=> "src_$1_$3_$4", - }, - { - name => "include", - value => "$package->{dst}/**", - }, - ] - }; + { + if(!defined $nosource) + { + push @{$zipConfig->{config}->{config}->{src}->{config}->{$1}->{config}}, + { + set => + [ + { + name => "name", + value=> "src_$1_$3_$4", + }, + { + name => "include", + value => "$package->{dst}/**", + }, + ] + }; + } } elsif ($package->{source} =~ m{/rnd/([^/]+)/([^/]+)}) {