# HG changeset patch # User Dario Sestito # Date 1250702004 -3600 # Node ID 13fa826ea048a590ebd99890b3f66adf422a3e03 # Parent cb0ec85c881d7032099bff29dffcbfa3dfef5db6# Parent bed8f6bc974ba1b649f86c0d0ef208f6577c0cb9 Merge diff -r cb0ec85c881d -r 13fa826ea048 common/build.xml --- a/common/build.xml Wed Aug 19 16:13:04 2009 +0100 +++ b/common/build.xml Wed Aug 19 18:13:24 2009 +0100 @@ -63,26 +63,48 @@ - [SF-PREP] + + + + + + + + + + +Insufficient space to run this build to completion. (Was looking for ${sf.drive.space.needed}.) To suppress this check, set the property sf.suppress.drive.space.check to any value. + + - - + + - - - - + + + + [SF-BUILD-ALL] + + [SF-SUMMARY] + + + + + + + + [SF-BUILD-AND-PACK] diff -r cb0ec85c881d -r 13fa826ea048 common/common_props.ant.xml --- a/common/common_props.ant.xml Wed Aug 19 16:13:04 2009 +0100 +++ b/common/common_props.ant.xml Wed Aug 19 18:13:24 2009 +0100 @@ -2,6 +2,8 @@ + + @@ -13,7 +15,6 @@ - @@ -28,8 +29,6 @@ - - diff -r cb0ec85c881d -r 13fa826ea048 common/diamonds/sf-run-analysis.xml.ftl --- a/common/diamonds/sf-run-analysis.xml.ftl Wed Aug 19 16:13:04 2009 +0100 +++ b/common/diamonds/sf-run-analysis.xml.ftl Wed Aug 19 18:13:24 2009 +0100 @@ -32,6 +32,11 @@ Raptor summary file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\logs\raptorbits\summary.csv + + log + Build Summary + file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\build_summary.html + \ No newline at end of file diff -r cb0ec85c881d -r 13fa826ea048 common/tools/summary/brag_script.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/summary/brag_script.pl Wed Aug 19 18:13:24 2009 +0100 @@ -0,0 +1,57 @@ +# Copyright (c) 2009 Symbian Foundation Ltd +# This component and the accompanying materials are made available +# under the terms of the License "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Symbian Foundation Ltd - initial contribution. +# +# Contributors: +# +# Description: +# Generate build summary with BRAG status + +use Getopt::Long; + +my $buildid = ''; +my $basedir = ''; +my $help = 0; +GetOptions(( + 'buildid=s' => \$buildid, + 'basedir=s' => \$basedir, + 'help!' => \$help +)); + +$help = 1 if (!$buildid or !$basedir); + +if ($help) +{ + print "Generate build summary with BRAG status\n"; + print "Usage: perl brag_script.pl --buildid=ID --basedir=DIR\n"; + exit(0); +} + +$buildid =~ /^([^_]*)_([^.]*)\./; +my $project = $1; +my $codeline = $2; + +my $logdir = "$basedir\\$buildid\\output\\logs"; + +opendir(DIR, $logdir); +my @dir_content = readdir(DIR); +close(DIR); +#my @asSimilarDirs = grep(/^$sBaseName(\.|$)/, @asDirs); + +my $nfiles = scalar(@dir_content); + + +open(FILE, ">$logdir\\build_summary.html"); +print FILE "build summary
build id: $buildid
log files: $nfiles"; +close(FILE); + +my $copy_cmd = "copy $logdir\\build_summary.html \\\\bishare\\sf_builds\\$project\\builds\\$codeline\\$buildid"; +print "Exec: $copy_cmd\n"; +system($copy_cmd); + + diff -r cb0ec85c881d -r 13fa826ea048 sf-package/package_props.ant.xml --- a/sf-package/package_props.ant.xml Wed Aug 19 16:13:04 2009 +0100 +++ b/sf-package/package_props.ant.xml Wed Aug 19 18:13:24 2009 +0100 @@ -2,6 +2,8 @@ + + diff -r cb0ec85c881d -r 13fa826ea048 sf-platform/build.xml --- a/sf-platform/build.xml Wed Aug 19 16:13:04 2009 +0100 +++ b/sf-platform/build.xml Wed Aug 19 18:13:24 2009 +0100 @@ -3,6 +3,15 @@ + + + + + + + + + @@ -448,8 +457,5 @@ - - - diff -r cb0ec85c881d -r 13fa826ea048 sf-platform/platform_props.ant.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sf-platform/platform_props.ant.xml Wed Aug 19 18:13:24 2009 +0100 @@ -0,0 +1,7 @@ + + + + + + + diff -r cb0ec85c881d -r 13fa826ea048 sf-platform/platform_refs.ant.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sf-platform/platform_refs.ant.xml Wed Aug 19 18:13:24 2009 +0100 @@ -0,0 +1,5 @@ + + + + +