Re: tasklist plugin help needed

2003-06-09 Thread Gabriel Sjoberg
Maarten Coene wrote:

/**
 * The description of my method
 * @todo Refactor this method
 */
 public void myMethod() { ... }
I tried to generate the todo list with maven tasklist .

What should I do to get the tasklist plugin generate a todo list?
You may want to verify that the following line exists in one of your 
.properties files:

maven.tasklist.taskTag = your tag here

The tag is case-sensitive, so you'll need to verify that your case is 
similar across all files.  I had the same problem you did at first, but 
I realized that my tag was @TODO, so the plugin didn't pick it up.  
Perhaps case-insensitivity can be added to a future version of the plugin.

-GS

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tasklist plugin help needed

2003-06-06 Thread Maarten Coene
I've included my project.xml and the generated task-list.xml file.
I'm also using the latest CVS version of maven.
=== projext.xml ===
?xml version=1.0?
project
  pomVersion3/pomVersion
  namewisecare/name
  idwisecare/id
  currentVersion1.0-dev/currentVersion
  organization
nameQMedit/name
urlhttp://www.qmedit.com//url
  /organization
  inceptionYear2003/inceptionYear
  packagecom.qmedit.wisecare/package
  shortDescriptionWisecare Project/shortDescription

  description
This is a description of the Wisecare project.
  /description
  reports
reportmaven-tasklist-plugin/report
  /reports
  dependencies

dependency
  idcolt/id
  versionSNAPSHOT/version
/dependency
dependency
  idcommons-collections/id
  versionSNAPSHOT/version
/dependency
dependency
  idcommons-digester/id
  versionSNAPSHOT/version
/dependency
dependency
  idqmedit-commons-misc/id
  versionSNAPSHOT/version
/dependency
  /dependencies

  build

sourceDirectorysrc/java/sourceDirectory

  /build
/project
=== task-list.xml ===
?xml version=1.0 encoding=ISO-8859-1?
document
  properties
author email=[EMAIL PROTECTED]Maven/author
titleArticles/title
  /properties
  body
section name=Todos
  p
  /p
  table
thClass/th
thClass Todos Count/th
thMethod with Todos/th
  /table
  hr/
  p
/p
/section
  /body
/document
At 12:24 6/06/2003 +0200, you wrote:
Do you have your source directory specified in your project.xml file. In 
this file there needs to be a tag like this:

  sourceDirectorysrc/java/sourceDirectory

The tasklist plugin looks into this directory for java files  to process.

Maarten Coene wrote:

Yes it's included in my project.xml file.

The tasklist report is generated, but it contains an empty table of todo 
items.

Maarten


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]