users@jaxb.java.net

generate javadoc

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 29 Dec 2007 12:17:12 +0100

I am generating classes from a XSD schema.. everything works fine. My
ant task generates the classes and then pack a JAR file for
distribution.

What I want now is to include the javadoc in this JAR file, in a way
Eclipse and other IDEs can show up the documentation of types and its
members during the development phase;

how to achieve that ?

from the tutorial, I included that:

                <xsd:annotation>
                        <xsd:appinfo>
                                <jaxb:class name="MyType">
                                        <jaxb:javadoc>
                                                A &lt;b>Purchase Order&lt;/b> consists of
                                                addresses and items.
                                        </jaxb:javadoc>
                                </jaxb:class>
                        </xsd:appinfo>

but the Eclipse continue to show:

Note: This element neither has attached source nor attached Javadoc
and hence no Javadoc could be found.