Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.6, 2.0.6
-
None
-
Win7 64bit
Description
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 foo.Deriv is defined like this:
foo.Deriv.groovy
package foo import bar.Alias as Al class Deriv extends Base { Al.Enum alias = null Snafu[] snafu = null }
where bar.Alias.Enum is an enum type.
The page for foo.Deriv (doc/foo/Deriv.html) shows the property "alias" has type "Al".
I think this is wrong: groovydoc should show the property type
- as either "Al.Enum" or "bar.Alias.Enum"
- with a link to the page for bar.Alias.Enum (ie, to doc/bar/Alias.Enum.html)