Mikko Värri created GROOVY-8117:
-----------------------------------

             Summary: groovydoc links to a wrong type
                 Key: GROOVY-8117
                 URL: https://issues.apache.org/jira/browse/GROOVY-8117
             Project: Groovy
          Issue Type: Bug
          Components: GroovyDoc
    Affects Versions: 2.4.10, 2.1.1
            Reporter: Mikko Värri


When I generate groovydocs for the following class:

{code:title=FooAdapter.groovy}
import api.Foo
import lib.Foo as FooImpl

class FooAdapter implements Foo {
    FooAdapter(FooImpl foo) {}
}
{code}

where some API defines:

{code:title=api/Foo.java}
package api;
public interface Foo {}
{code}

and some library defines:

{code:title=lib/Foo.java}
package lib;
public class Foo {}
{code}

then in the documentation the implemented interface "Foo" links to 
{{lib/Foo.html}} instead of {{api/Foo.html}}.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to