Diogo Quintela (EF) wrote:
Check xdoclet 1 and/or xdoclet 2.
They are more maintained I suppose.
Xdoclet 1
http://xdoclet.sourceforge.net/xdoclet/tags/exolab-tags.html
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/ejb/EjbDocletTask.html
Xdoclet 2
http://xdoclet.codehaus.org/Castor+plugin
Regards
Well, but I haven't found ANY documentation of how SQL scripts of the
database
schema needed for mapping should/could be generated by those doclets.
AFAIK these doclet only support generation of mapping.xml (at least xdoclet2
castor plugin I am sure, as I was the one who contributed it).
Regarding the SQL schema generation; I never used castor-jdo feature, so I
don't really known if there is such a generator - the guys here could
enlighten us on this. If not, xdoclet2 is available for such a contribution
(as xdoclet1 is I assume).
Also, in the src/examples/jdo there is a create.sql file for MySQL. And
I want to use
hsqldb in conjunction with my own classes, stored in the database with
correct schema.
And how to create that schema is beyond me...
Again, the guys here could help you on this. I suppose that it should be a
straight java-field to table-field (handmade?) mapping..
Sorry for not keeping in touch but I was really busy lately...
I'd love to contribute something to your great project. But I need to focus
on my own work right now. I just wanted to raise the interest in the work
already done. The "Castor doclet" is a doclet after all, isn't it? It
adheres
to xdoclet/1 standards only I assume. It's not perfect, but it works
remarkably
well. Even if it has some rough edges. After some modifications it could be
incorporated into your project. And I think this IS already a big
contribution.
It just needs some cleaning IMHO.
Please consider incorporating this code into your project. Otherwise another
amount of work-hours would become unnecessarily wasted (again).
Regards,
Wiktor Wandachowicz
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------