Hello Castor devs!

Recently I've started to use your fine framework. However, I was unsure
how to write the XML mappings and SQL schema for my application.

So, I've searched the net and I've found a project called
"Castor Doclet":
http://sourceforge.net/projects/castordoclet/
http://castordoclet.sourceforge.net/

This project is dead simple. I've just needed to add several custom
javadoc tags to my classes, export Eclipse 3.1 project to the Ant's
build.xml file, modify it a bit by adding two tasks in build-user.xml,
add the needed JAR's to the path, run ant and voila!

This way I got both mapping.xml and create.sql files (the latter for
hsqldb database I use). And everytime I change something in my project,
I can almost instantly generate new versions of XML mapping and SQL
script. This way my productivity is enhanced by a big margin. Even though
it's not perfect and probably not very well suited for the serious
development, this provides me at least a good starting point.

The only problem is that the original "Castor Doclet" project seems
unmaintained ATM. In fact, last code contributions were done over 2 years
ago. However, this project has patches, feature requests, and the like.
But there's no one to answer.

Now I wonder if it would be feasible for Castor team to participate in
or even take over this project (it's released under LGPL). IMHO this
would be a big benefit for Castor users - to specify Castor-related
information directly in the source code of their Java classes, in quite
lightweight way at the same time.

One day, such tools will have to exist to take opportunity of the Java 5
annotations, so such Castor-related information wouldn't have to be put
as plain javadoc tags. However, the "Castor Doclet" could be a good
start towards such functionality.

What do you think about this?

Best regards,
Wiktor Wandachowicz

PS.
I've seen that Matt Brozowski intends to provide a Maven2 Plugin for
Castor, but I'm not sure what is it going to do.
OTOH, "Castor Doclet" works and does some good things.


-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to