You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/07/19 11:00:00 UTC

[jira] [Resolved] (GROOVY-10689) Groovydoc for Groovy 3+ documents classes at too early a phase of compilation

     [ https://issues.apache.org/jira/browse/GROOVY-10689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King resolved GROOVY-10689.
--------------------------------
    Fix Version/s: 5.0.0-alpha-1
                   4.0.4
       Resolution: Fixed

> Groovydoc for Groovy 3+ documents classes at too early a phase of compilation
> -----------------------------------------------------------------------------
>
>                 Key: GROOVY-10689
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10689
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 5.0.0-alpha-1, 4.0.4
>
>
> Groovydoc currently compiles to the CONVERSION phase of the compiler before running the GroovydocVisitor. The visitor adds in some of the information that would appear in later phases but far from all. That phase was selected to align with earlier versions of the tool which don't require all mentioned classes to be in the classpath during groovydoc execution.
> This improvement will move the processing to a later phase (which will require more classes on the classpath) but provide a system property so that the phase can be dialed back if needed for folks where the classpath requirement imposes too great a burden. This improvement will be targeted initially only at Groovy 4+.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)