common/templates/build-info.xml.ftl
changeset 231 c75afb49c4d3
parent 225 59f8bbf91345
--- a/common/templates/build-info.xml.ftl	Mon Jul 06 10:58:51 2009 +0100
+++ b/common/templates/build-info.xml.ftl	Thu Jul 09 15:27:24 2009 +0100
@@ -1,4 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
+
+<#assign row = 0 />
+
 <diamonds-build>
   <content>
     <project>
@@ -28,7 +31,10 @@
     <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>