common/templates/build-info.xml.ftl
author Shabe Razvi <shaber@symbian.org>
Thu, 09 Jul 2009 15:27:24 +0100
changeset 231 c75afb49c4d3
parent 225 59f8bbf91345
permissions -rw-r--r--
Add branch and changeset support for getting source. BOM sources.csv can now be reused directly.

<?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>