Removed obsolete variable (@includes).
Moved remaining code round so that an XML entry is created even if there are no local files detected. (Ie same approach as src repositories.)
<?xml version="1.0" encoding="utf-8"?>
<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>Sources</name>
<#list sources as s>
<baseline>${s.loc}#${s.rev}</baseline>
</#list>
</project>
</content>
</diamonds-build>