common/templates/build-info.xml.ftl
author Simon Howkins <simonh@symbian.org>
Tue, 30 Mar 2010 13:57:59 +0100
changeset 952 ea541face66b
parent 231 c75afb49c4d3
permissions -rw-r--r--
Re-apply changes to allow sources.csv to specify a revision by a *local* tag in the web repository. Uses "hg id" instead of "hg in", so not affected by the aborts we had previously. And no need for an empty repo this time either.

<?xml version="1.0" encoding="utf-8"?>

<#assign row = 0 />

<diamonds-build>
  <content>
    <project>
      <name>Config</name>
      <#list config as c>
 	  <baseline>${c.loc}#${c.rev}</baseline>
 	  </#list>
    </project>
    <project>
      <name>Project</name>
      <#list project as p>
 	  <baseline>${p.loc}#${p.rev}</baseline>
 	  </#list>
    </project>
    <project>
      <name>Baseline</name>
      <#list baseline as b>
      <baseline>${b}</baseline>
      </#list>
    </project>
    <project>
      <name>Tools Baseline</name>
      <#list toolsbaseline as b>
      <baseline>${b}</baseline>
      </#list>
    </project>
    <project>
 	  <name>Sources</name>
 	  <#list sources as s>
	  <#if (row!=0)>
 	  <baseline>${s.loc}#${s.rev}</baseline>
	  </#if>
	  <#assign row = row + 1 />
 	  </#list>
    </project>
  </content>
</diamonds-build>