[ http://jira.codehaus.org/browse/MPJAVADOC-42?page=all ]
Lukas Theussl closed MPJAVADOC-42:
----------------------------------
Resolution: Won't Fix
Closing as won't fix as maven 1.1 will require jdk >= 1.4.
> javadoc:generate from CVS fails in some projects
> ------------------------------------------------
>
> Key: MPJAVADOC-42
> URL: http://jira.codehaus.org/browse/MPJAVADOC-42
> Project: maven-javadoc-plugin
> Type: Bug
> Versions: 1.7
> Reporter: Felipe Leme
> Attachments: StandardDoclet13XmlBuilder.java,
> StandardDocletDefaultXmlBuilder.java, XmlBuilder.java,
> javadoc-warnings-13.jsl, javadocwarnings.diff, report-13.txt, report-14.txt,
> report-15.txt
>
> Original Estimate: 3 hours
> Time Spent: 40 minutes
> Remaining: 2 hours, 20 minutes
>
> 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).
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]