--- John Latham <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> For my project right now, the Hibernate plugin for
> XDoclet seems better 
> than the equivalent for XDoclet2 (or perhaps I'm not
> using the right 
> tags yet). So far, I've gone from XDoclet->XDoclet2
> and back again

What features do you miss? 

> I would like to switch back and forth like this as
> both systems develop. 
> This is painful, as the tags are incompatible but
> share the same 
> "namespace" (@hibernate) so should not co-exist in
> the same source files 
> (or perhaps I should just ignore warnings during
> mapping file generation!).
> 
> I end up doing a load of find/replace, for example,
> 
>     @hibernate.collection-key ->
> @hibernate.key-property

@hibernate.vollection-key in XD1 corresponds to
@hibernate.key. Key-property is qute different

>     @hibernate.one-to-many ->
> @hibernate.collection-one-to-many

This was syntactic improvement.

> Maybe I'll write some sed scripts to do this, but
> maybe some tools exist 
> already for tag migration..?


There is an idea to provide "deprecated" version of
tags with XD1 names - where possible  ( parameters
have changed too ) 

And as long as XD1 tag has different name, you coudl
use it together with XD2 tag. You will only get
warning about unknown tag. 

regards,

----[ Konstantin Pribluda ( ko5tik ) ]----------------
... Auf der Suche nach einen Projekt in Rhein-Main
ab 18.4.2005
----[ http://www.pribluda.de ]------------------------


                
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to