# HG changeset patch # User dariosestito@L063522.prod.ad.symbian.intra # Date 1238411252 -3600 # Node ID f137ddbb714da1750b640b183e9da0b509f873e8 # Parent 62563fa42f574328a0c5a19814e6a8e068320f85 Added tagging of source code used in the build diff -r 62563fa42f57 -r f137ddbb714d common/build.xml --- a/common/build.xml Wed Mar 25 17:25:57 2009 +0000 +++ b/common/build.xml Mon Mar 30 12:07:32 2009 +0100 @@ -1,151 +1,174 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [SF-PREP] - - - - - [SF-BUILD-ALL] - - - - [SF-BUILD] - - - - - - - - - - - - - - ant: antProperties() - data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) - - - - - - [SF-PREBUILD] - - - - - - - - - - - - - - - - - - [SF-POSTBUILD] - - - - - - - - - - - - [SF-BUILD-NOPREP] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [SF-PREP] + + + + + [SF-BUILD-ALL] + + + + [SF-BUILD] + + + + + + + + + + + + + + ant: antProperties() + data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) + + + + + + [SF-PREBUILD] + + + + + + + + + + + + + + + + + + [SF-POSTBUILD] + + + + + + + + + + + + + + + + + + + + + + + [SF-BUILD-NOPREP] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ant: antProperties() + data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) + + + + + + + + diff -r 62563fa42f57 -r f137ddbb714d common/templates/tag-hg-code.ant.xml.ftl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/templates/tag-hg-code.ant.xml.ftl Mon Mar 30 12:07:32 2009 +0100 @@ -0,0 +1,28 @@ + + + +<#assign target_depends = "" /> +<#assign count = 0 /> + +<#list data as pkg_detail> + + + + + + + + + <#if (count == 0) > + <#assign target_depends = "${target_depends}" + "sf-tag-hg-code-${count}" /> + + <#if (count > 0) > + <#assign target_depends ="${target_depends}" + ","+"sf-tag-hg-code-${count}"/> + + + <#assign count = count + 1 /> + + + + + \ No newline at end of file