Hi,
I have had the same thought! I just found out that the tasklist plugin
already is prepared quite well for this. So if you add a:
taskTag="todo"
line to your ${MAVEN_HOME}\plugins\maven-tasklist-plugin-1.0\plugin.jelly
so you get something like this:
<tasklist:tasklist
projectDescriptor="project.xml"
base="${maven.src.dir}"
includes="**/*.java"
outputFile="${maven.gen.docs}/task-list.xml"
outputEncoding="${maven.docs.outputencoding}"
project="${maven.ant.project}"
mavenProject="${pom}"
taskTag="todo"
/>
You get the @todo behaviour. I will try to clean this up a bit and
submit a patch to the maven-dev list.
I think the TO-DO behaviour will require some more work though.
Thanks,
J�rn
--
Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away. - Antoine de Saint-Exupery
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Turbine Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 1:13 PM
Subject: @task or @todo? That is the question.
>
> Hi everyone,
>
> We've been using Maven for about a month now and think it's fab. It's
> great to see the project really taking off, and that you're using JIRA too!
>
> I'd like to draw the group's attention to the @task javadoc comment for
> generating the task-list. This is a great feature, but we're concerned
> that there is a lot of momentum behind using @todo instead. Eclipse will
> be using the @todo tag to generate its task list, and the tag has been
> reserved by Sun for this purpose:
>
> http://java.sun.com/j2se/javadoc/proposed-tags.html
>
> So, would it make sense to switch to searching for the @todo tag instead,
> or perhaps make this a configurable project property? It would be great to
> have the flexibility to change this.
>
> As a secondary thought, could the plug-in search code comments for things
> like "TO-DO" a la Checkstyle?
>
> What do people think?
>
> Mike
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>