Matt Raible wrote:

There have been a couple of attribute changes that relate to the
hibernate-properties.xdt file.  What is the best solution for submitting
a patch for these - a bunch of if statements on version?

For instance, "role" is now "name" and "readonly" is now "inverse" with
Hibernate 2.0.  Any advice is appreciated - the easy way might be to
create two different .xdt files??

Most probably. I think hibernate has changed quite a lot since the 1.x versions. Trying to keep the same template for both versions could be cumbersome.


However, you could try to extract the common bits to merge files, So you can keep two differente "skeleton" templates that includes other templates. The current design of the hibernate modules uses includes a lot already.

--
MB



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to