--- a/buildframework/helium/tools/common/templates/help_text.txt.ftl Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/tools/common/templates/help_text.txt.ftl Fri Aug 13 14:59:05 2010 +0300
@@ -18,24 +18,29 @@
Description:
============================================================================
--->
-<#list xml["//target[name='${helpTarget}']"] as target>
+-->
+<#assign itemList = xml["//*[name='${helpItem}']"]/>
+<#if itemList?size > 0>
+<#list itemList as item>
-Target ${target.name}:
+${item.name}
-----------------------------
-Location: ${target.location}
+Location: ${item.location}
-<#if target.description?length > 0>
+<#if (item.description)?has_content>
Description:
-${target.description}
+${item.description}
</#if>
-Documentation:<#recurse target.documentation>
+Documentation:<#recurse item.documentation>
+
+</#list>
-Property dependencies:
-<#list target.propertyDependency as property>
-* ${property}
-</#list>
-</#list>
+<#else>
+
+${helpItem}
+Documentation not found.
+</#if>
+
<#macro tt> "<#recurse>" </#macro>
@@ -50,7 +55,12 @@
<#macro li> * <#recurse>
</#macro>
-<#macro b><#recurse>*</#macro>
+<#macro b><#recurse></#macro>
<#macro @text>${.node?trim}</#macro>
+<#macro pre>
+
+
+ <#recurse></#macro>
+