According to http://db.apache.org/ojb/xdoclet-module.html, a
'documentation' attribute for @ojb.class and @ojb.field will result in
the <documentation/> tag being generated in the torque schema. This
isn't happening for me. 

Anyone know why? 

I tried to look in the bug database, but can't seem to access it. Is
there a migration to scarab going on right now?


Here's my javadoc and the generated project_schema.xml:
------------ BEGIN JAVADOC ------------
/**
 * Normal text blah blah...
 * 
 *  @ojb.class table="ISOCOUNTRYCODES"
 *          documentation="This is important documentation on the
ISOCountryCodes class."
 * 
 * @ojb.field name="ISOCode"
 *            documentation="This is important documentation on the
ISOCode field."
 *            jdbc-type="VARCHAR"
 *            length="10"
 * @ojb.field name="Country"
 *            documentation="This is important documentation on the
Country field."
 *            jdbc-type="VARCHAR"
 *            length="128"
 * @ojb.field name="PostalRegExp"
 *            documentation="This is important documentation on the
PostalRegExp field."
 *            jdbc-type="VARCHAR"
 *            length="128"
 */
public class ISOCountryCodes
------------ END JAVADOC ------------

------------ BEGIN project_schema.xml ------------
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE database SYSTEM
"http://jakarta.apache.org/turbine/dtd/database.dtd";>
<!-- Generated by the xdoclet-ojb module -->
 
<database name="default">
    <table name="ISOCOUNTRYCODES">
        <column name="ISOCode"
                javaName="ISOCode"
                type="VARCHAR"
                size="10"
        />
        <column name="Country"
                javaName="Country"
                type="VARCHAR"
                size="128"
        />
        <column name="PostalRegExp"
                javaName="PostalRegExp"
                type="VARCHAR"
                size="128"
        />
    </table>
</database>
------------ END project_schema.xml ------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to