diff -r c7c26511138f -r 7c4a911dc066 buildframework/helium/tools/common/templates/help_text.txt.ftl --- 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} -Documentation:<#recurse target.documentation> +Documentation:<#recurse item.documentation> + + -Property dependencies: -<#list target.propertyDependency as property> -* ${property} - - +<#else> + +${helpItem} +Documentation not found. + + <#macro tt> "<#recurse>" @@ -50,7 +55,12 @@ <#macro li> * <#recurse> -<#macro b><#recurse>* +<#macro b><#recurse> <#macro @text>${.node?trim} +<#macro pre> + + + <#recurse> +