jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Javadoc Plugin
  • MPJAVADOC-6

javadoc-plugin: non default doclet will not exec

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Linux

Description

antProperty doclet ist set from maven.javadoc.docletpath

plugin.jelly reads:

<!-- allow custom doclets -->
<j:if test="${context.getVariable('maven.dotuml.doclet') != null}">
<ant:setProperty name="doclet" value="${maven.dotuml.doclet}" />
</j:if>
<j:if test="${context.getVariable('maven.dotuml.docletpath') != null}">
<ant:setProperty name="doclet" value="${maven.dotuml.docletpath}" />
</j:if>

must read:
<!-- allow custom doclets -->
<j:if test="${context.getVariable('maven.dotuml.doclet') != null}">
<ant:setProperty name="doclet" value="${maven.dotuml.doclet}" />
</j:if>
<j:if test="${context.getVariable('maven.dotuml.docletpath') != null}">
<ant:setProperty name="docletpath" value="${maven.dotuml.docletpath}" />
</j:if>

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    javadoc.plugin.patch
    07/Jan/04 2:35 PM
    0.8 kB
    Jason Horne

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jason Horne added a comment - 07/Jan/04 2:11 PM

The code has changed slightly since this was originally reported, but the bug remains.

This:
<!-- allow custom doclets -->
<j:if test="${context.getVariable('maven.javadoc.doclet') != null}">
<ant:setProperty name="doclet" value="${maven.javadoc.doclet}" />
</j:if>
<j:if test="${context.getVariable('maven.javadoc.docletpath') != null}">
<ant:setProperty name="doclet" value="${maven.javadoc.docletpath}" />
</j:if>

...needs to be changed to this:

<!-- allow custom doclets -->
<j:if test="${context.getVariable('maven.javadoc.doclet') != null}">
<ant:setProperty name="doclet" value="${maven.javadoc.doclet}" />
</j:if>
<j:if test="${context.getVariable('maven.javadoc.docletpath') != null}">
<ant:setProperty name="docletpath" value="${maven.javadoc.docletpath}" />
</j:if>

Show
Jason Horne added a comment - 07/Jan/04 2:11 PM The code has changed slightly since this was originally reported, but the bug remains. This: <!-- allow custom doclets --> <j:if test="${context.getVariable('maven.javadoc.doclet') != null}"> <ant:setProperty name="doclet" value="${maven.javadoc.doclet}" /> </j:if> <j:if test="${context.getVariable('maven.javadoc.docletpath') != null}"> <ant:setProperty name="doclet" value="${maven.javadoc.docletpath}" /> </j:if> ...needs to be changed to this: <!-- allow custom doclets --> <j:if test="${context.getVariable('maven.javadoc.doclet') != null}"> <ant:setProperty name="doclet" value="${maven.javadoc.doclet}" /> </j:if> <j:if test="${context.getVariable('maven.javadoc.docletpath') != null}"> <ant:setProperty name="docletpath" value="${maven.javadoc.docletpath}" /> </j:if>
Hide
Permalink
Jason Horne added a comment - 07/Jan/04 2:35 PM

Attached a patch file which performs this fix

Show
Jason Horne added a comment - 07/Jan/04 2:35 PM Attached a patch file which performs this fix
Hide
Permalink
dion gillard added a comment - 07/Jan/04 6:41 PM

Patch applied today.Fixed in v1.4 of the plugin

Show
dion gillard added a comment - 07/Jan/04 6:41 PM Patch applied today.Fixed in v1.4 of the plugin

People

  • Assignee:
    dion gillard
    Reporter:
    Anonymous
Vote (2)
Watch (1)

Dates

  • Created:
    16/Aug/03 12:29 PM
    Updated:
    07/Jan/04 6:41 PM
    Resolved:
    07/Jan/04 6:41 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.