Attachment bug1.zip contains 2 groovy projects ("foo" and "bar") plus an ant project (under folder "ant") to perform the groovydoc. I've tried groovydoc by:
- running "ant" in the "ant" folder (I used apache-ant-1.8.4)
- running "build.xml" as an Ant Build in eclipse (I used juno-4.2)
The documentation is written to the folder "doc". I used "ant" for the attachment version.
The build.xml copies the groovy files to a separate folder before invoking groovydoc. AFAICS this makes no difference to this problem - I get the same if I direct groovydoc to use the groovy files in their project folders.
Class bar.Deriv is defined like this:
The page for bar.Deriv (doc/bar/Deriv.html) shows the hierarchy as:
However, bar.Deriv derives from bar.Base, not foo.Base.
If you create the documentation yourself and find that groovydoc gets the hierarchy correct for bar.Deriv, try looking at the page for foo.Deriv (doc/foo/Deriv.html). It will get that one wrong instead.
I think this is wrong: groovydoc should be able to resolve the base class to the correct package.