--- a/buildframework/helium/tools/common/templates/diamonds/tool.xml.ftl Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/tools/common/templates/diamonds/tool.xml.ftl Fri Aug 13 14:59:05 2010 +0300
@@ -21,24 +21,26 @@
-->
<#include "diamonds_header.ftl">
<#include "diamonds_macro.ftl">
- <tools>
+ <tools>
<#if ant?keys?seq_contains("env.SYMSEE_VERSION")>
<tool>
- <name>SymSEE</name>
- <version>${ant["env.SYMSEE_VERSION"]}</version>
- </tool>
+ <name>SymSEE</name>
+ <version>${ant["env.SYMSEE_VERSION"]}</version>
+ </tool>
</#if>
<#if (doc)??>
-<#list doc["ivy-report/dependencies/module"] as module>
- <tool>
- <name>${module.@name}</name>
- <version>${module.revision.@name}</version>
- </tool>
+<#list doc["environment/tool"] as tool>
+ <#if tool.path?length > 0>
+ <tool>
+ <name>${tool.name}</name>
+ <version>${tool.version}</version>
+ </tool>
+ </#if>
</#list>
</#if>
- <tool>
- <name>Helium</name>
- <version>${ant["helium.version"]}</version>
- </tool>
- </tools>
-<#include "diamonds_footer.ftl">
\ No newline at end of file
+ <tool>
+ <name>Helium</name>
+ <version>${ant["helium.version"]}</version>
+ </tool>
+ </tools>
+<#include "diamonds_footer.ftl">