You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/08/01 20:14:23 UTC

[jira] Updated: (MPTASKLIST-10) Method todos are never found even if they exist in the code

The following issue has been updated:

    Updater: Dennis Lundberg (mailto:dennis.lundberg@mdh.se)
       Date: Sun, 1 Aug 2004 2:12 PM
    Comment:
This issue is related to MPTASKLIST-11. I have modified the test file from that issue somewhat to illuminate the missing method todos.

The attached file when run through this plugin gives these results (I modified the layout because JIRA uses a variable width font):
Class: null.PersonBean
Class Todos: 1
Method Todos: 2
Field Todos: 1

It seems that when a method todo that contains non-us-ascii characters is found the plugin stops looking for any more todos in that category (class/method/field).

The QDox team seems to think it's a problem with their parser: http://jira.codehaus.org/browse/QDOX-61
    Changes:
             Attachment changed to PersonBean.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPTASKLIST-10?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPTASKLIST-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPTASKLIST-10
    Summary: Method todos are never found even if they exist in the code
       Type: Bug

     Status: Open

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-tasklist-plugin

   Assignee: Jason van Zyl
   Reporter: Dennis Lundberg

    Created: Fri, 23 Jul 2004 5:00 PM
    Updated: Sun, 1 Aug 2004 2:12 PM

Description:
First I should say that this issue might belong somewhere else, but I'm not sure where.

When using this report I noticed that it contained fewer todos than what I see in my IDE (IntelliJ IDEA). I inserted some debugging output and found out that the call to "$class.methods" in the code snippet below always returns an empty list of MethodInfo objects.

#foreach ($class in $docInfo.classes)
  ...
  #foreach ($m in $class.methods)
  ...
  #end
#end

Now tasklist seems to rely on the vdoclet-plugin, which in turn relies on a sourceforge project. There was a newer version (20030717) of vdoclet available at sourceforge, so I built a new version of the vdoclet-plugin using that. But unfortunately the results are still the same.

I could not find any other plugin that uses vdoclet so I'm lost here. Does anybody else have an idea what might be wrong?


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org