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/09/25 03:24:01 UTC

[jira] Updated: (MPJAVADOC-42) javadoc:generate from CVS fails in some projects

The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Fri, 24 Sep 2004 9:22 PM
    Comment:
Changing priority as this is not a bug anymore (if the author doesn't send a new patch, I will try to fix it myself after the 1.0.1 timeframe) 
    Changes:
             priority changed from Blocker to Major
             Fix Version changed from 1.7
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPJAVADOC-42?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-42

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-42
    Summary: javadoc:generate from CVS fails in some projects
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: 3 hours
 Time Spent: 40 minutes
  Remaining: 2 hours, 20 minutes

    Project: maven-javadoc-plugin
   Versions:
             1.7

   Assignee: Felipe Leme
   Reporter: Felipe Leme

    Created: Wed, 1 Sep 2004 4:56 PM
    Updated: Fri, 24 Sep 2004 9:22 PM

Description:
I'm using javadoc-1.7 from CVS and the javadoc:warning tag fails in many of our projects. Here is an example:

maven-javadoc-plugin:report:
    [javadoc] Generating Javadoc
    [javadoc] Javadoc execution
    [javadoc] Loading source files for package com.cpqd.util.fileconnector...
    [javadoc] Loading source files for package com.cpqd.util.fileconnector.conne
ctor...
    [javadoc] Loading source files for package XXXX
    [javadoc] Constructing Javadoc information...
    [javadoc] Copying file C:\Documents and Settings\t_fl01\.maven\cache\maven-javadoc-plugin-1.7-SNAPSHOT\plugin-resources\stylesheet.css to file S:\components\components\fileconnector\target\docs\apidocs\stylesheet.css...
    [javadoc] Building tree for all the packages and classes...
    [javadoc] Building index for all the packages and classes...
    [javadoc] javadoc: warning - getUserName: @return tag has no arguments.
    [javadoc] Building index for all classes...
    [javadoc] Generating S:\components\components\fileconnector\target\docs\apidocs\help-doc.html...
    [javadoc] 1 warning

BUILD FAILED
File...... C:\Documents and Settings\t_fl01\.maven\cache\maven-javadoc-plugin-1.7-SNAPSHOT\plugin.jelly
Element... javadoc:javadocwarnings
Line...... 483
Column.... 11
String index out of range: -1
Total time: 13 seconds
Finished at: Wed Sep 01 17:42:13 BRT 2004

I will see if I can narrow down the issue and realize what's going on.
I guess the javadoc is generating some output in an unexpected format that crashes the parser (i.e, the JavadocWarningsTextToXml.java) - if that's the case, I think it would be safer to ignore such exceptions, at least while this new feature is not stable yet (as we might face some similar issues in the future as the users uses other JDKs or javadoclets to generate the output).



---------------------------------------------------------------------
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