This works for me

    <target name="todo-doclet">
       <taskdef name="todo-doclet"
                 classname="xdoclet.modules.doc.DocumentDocletTask">
       </taskdef>

        <todo-doclet destdir="${build.docs.todo.dir}"
                     force="${build.force.docs}"
                     verbose="true">
            <fileset dir="${source.dir}">
                <include name="**/*.java" />
            </fileset>

            <info/>
        </todo-doclet>
    </target>

You may need to add a classpath to the taskdef if xdoclet is not already
in the ant classapath

I believe the <info> task defaults to looking for "todo".  You can change 
this by setting the "tag" attribute (the other settable attributes appear
to be "header" and "projectname")

cheers
Ben Sommerville

-----Original Message-----
From: Linus Nikander [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 13 August 2003 4:50 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Xdoclet To-do list generation example ?


Does anyone have a complete example of how to generate a javadoc style to-do list fr�n 
all @todo comments in code ? Prefrebly runnable as a task through ANT. I know this is 
possible, just haven't found a working version yet. 

//linus Nikander -
######################################################################
Attention: 

The information in this electronic mail is privileged and
confidential, intended only for use of the individual or entity named.
If you are not the intended recipient, any dissemination, copying or
use of the information is strictly prohibited.  If you have received
this transmission in error, please delete it immediately from your
system and inform us via mailto [EMAIL PROTECTED]

This e-mail has been scanned and cleared by MailMarshal 
######################################################################


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to