I am getting an error building with XDoclet (specifically the HibernateDocletTask): "destDir attribute must be present." I found the following bugzilla report, but am not sure what their final comment meant before saying the issue was with XDoclet and marking the bug invalid.

http://issues.apache.org/bugzilla/show_bug.cgi?id=26310

Is this an easy fix or difficult? Is there a work around? I want to move to Ant 1.6+ because I had an idea for enhancing the HibernateCfg subtask to include hbm.xml files defined in external .jars. The idea was to nest a ZipFileSet inside a Property element and filtered for *.hbm.xml files. That would give you a Ant property that could be a list of additional mapping files that could be incorporated into the templates via a HibernateCfgSubTask attribute exposed via the HibernateTagsHandler. The change would be fairly simple. This would be useful, because then any component packaged as a .jar could easily have its hbm.xml files incorporated into the construction of a hibernate.cfg.xml file or jboss-service.xml and become part of the SessionFactory.

Thank you.
Frederick N. Brier



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to