users@jersey.java.net

[Jersey] Re: WADL Generation, ResourceDoclet, and Inner-Class Names

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Tue, 15 Feb 2011 14:13:54 +0100

Hello Chris,

it is most likely issue in WadlGeneratorResourceDocSupport, can you file
an issue? JIRA should work now.

Thanks,
Pavel


On 01/25/2011 09:28 PM, Chris Hubick wrote:
> Hi,
>
> It seems that when generating resourcedoc.xml, Jersey's ResourceDoclet
> separates inner-class names using dots ('.', ClassDoc format), but that
> when trying to process this document, WadlGeneratorResourceDocSupport
> expects inner-class names to be separated using the dollar sign ('$',
> Class format).
>
> In my generated WADL, I don't see any doc elements for my inner class
> resources (most of them), unless I switch their dots to dollars in
> resourcedoc.xml, then it seems to work fine.
>
> I'm not sure which of the reading or writing side is correct, nor do I
> know enough about Doclets or ClassDoc to really write a patch.
>
>
> Thanks!
>
>
> (p.s. Can't login to Jira, nor receiving pwd reset emails. Also
> previously sent this msg via Gmail (with same "From") but it didn't go
> through).
>
>