db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r494319 - /db/ddlutils/trunk/src/antdoc/templates/html/taskindex.vm
Date Tue, 09 Jan 2007 05:20:22 GMT
Author: tomdz
Date: Mon Jan  8 21:20:15 2007
New Revision: 494319

URL: http://svn.apache.org/viewvc?view=rev&rev=494319
Log:
Fixed bug in ant documentation generation

Modified:
    db/ddlutils/trunk/src/antdoc/templates/html/taskindex.vm

Modified: db/ddlutils/trunk/src/antdoc/templates/html/taskindex.vm
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/antdoc/templates/html/taskindex.vm?view=diff&rev=494319&r1=494318&r2=494319
==============================================================================
--- db/ddlutils/trunk/src/antdoc/templates/html/taskindex.vm (original)
+++ db/ddlutils/trunk/src/antdoc/templates/html/taskindex.vm Mon Jan  8 21:20:15 2007
@@ -34,9 +34,15 @@
 </head>
 <body class="index">
 <div>
-<h3>#if ($category == 'all') Core #else $category #end Tasks</h3>
-#foreach( $taskDoc in $antroot.getTasksByCategory($category) )
-  #if ($taskDoc && !$taskDoc.isInnerClass())
+#if ($category == 'all')
+#set ($taskDocs = $antroot.getAll())
+<h3>Core Tasks</h3>
+#else
+#set ($taskDocs = $antroot.getTasksByCategory($category))
+<h3>$category Tasks</h3>
+#end
+#foreach ($taskDoc in $taskDocs)
+  #if ($taskDoc && $taskDoc.isTask() && !$taskDoc.isIgnored())
 <p><a href="${taskDoc.getFullClassName()}.html" target="task">Task <code>${taskDoc.getAntName()}</code></a></p>
     #if ($taskDoc.getShortComment())
 <p class="taskShortDescription">$taskDoc.getShortComment()</p>



Mime
View raw message