Restored the ability to allow a user to select the name of the tag to be

used for the generation of the tasklist instead of the hardcoding of
"@todo" in the vdoclet template.  I didn't even realize this
functionality was removed until doing a doc update that Tim O'Brien
supplied and I saw the maven.tasklist.taskTag.  Fixing this required
some changes to vdoclet, namely, adapting the JellyContext to a Velocity
context.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113033 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
kaz committed 2003-03-03 21:20:57 +00:00
1 parent 8477e3bf29
commit 2d9dc3397b
3 files changed
+7 -3

No files matched your search

@@ -10,10 +10,10 @@
<section name="Todos">
<p>
#foreach ($class in $docInfo.classes)
#set ($todoTags = $class.getTags("@todo"))
#set ($todoTags = $class.getTags($jellyContext.taskTag))
#set ($hasToDoMethod = false)
#foreach ($m in $class.methods)
#set ($methodTodoTags = $m.getTags("@todo"))
#set ($methodTodoTags = $m.getTags($jellyContext.taskTag))
#if ($methodTodoTags.size() > 0)
#set ($hasToDoMethod = true)
#end
@@ -34,7 +34,7 @@
#end
#foreach ($m in $class.methods)
#set ($methodTodoTags = $m.getTags("@todo"))
#set ($methodTodoTags = $m.getTags($jellyContext.taskTag))
#if ($methodTodoTags.size() > 0)
<table>
<th>Method Todos</th>