[dbdoclet] Re: Annotations in docbook output

Hello Matt,

I made a short test with the @Deprecated annotation and everything went
fine. The annotation is represented as <modifier> element in the output.

Do you have the jaxb libraries in your classpath? As far as I can
remember, the definition of the annotations must be present on the
classpath. Can you also make a short test with @Deprecated annotation?

If the problem is not solved, please send me an example.

Regards
Michael

Am Donnerstag, den 05.11.2009, 14:06 -0600 schrieb Matthew Williamson:
> Hello list,
> 
> I'm trying to make the docbook output include the fact that a given  
> member variable has a certain annotation attached to it. For example,  
> I want to be able to see if a member has the @XmlElement annotation  
> and is therefore JAXB serialized.
> 
> I've run the tool using javadoc -docletpath ... -doclet ... , and the  
> members I want to look at come out with <modifier> and <type>  
> properly, but nothing indicating any annotations. Also, I don't see  
> that annotations on the class (e.g. @XmlRootElement) are reflected in  
> the output either.
> 
> I read that dbdoclet added "Support for annotations" in v0.70.0, does  
> that mean that this is possible? Or is this not something that can be  
> done?
> 
> Thanks,
> -Matt
> 



Other related posts: