No need for that. If you don't add <cmp-version> by default app server
assumes 2.x. See the dtd for ejb 2.

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-devel-
> [EMAIL PROTECTED]] On Behalf Of Christoph Sturm
> Sent: Friday, September 28, 2001 3:32 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-devel] shouldnt cmp version default to 2.0 with
ejb2.0
> 
> Hello xdoclet-devel,
> 
> Ara mentioned that cmp version defaults to 2.0 in ejb2.0.
> 
> this is not how it works in the current templates, heres a patch:
> 
> 
> cvs diff ejb-body.j (in directory C:\projects\cvs-
> stuff\xdoclet\core\resources\xdoclet\ejb\)
> Index: ejb-body.j
> ===================================================================
> RCS file:
/cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/ejb-body.j,v
> retrieving revision 1.21
> diff -r1.21 ejb-body.j
> 88c88
> <          <cmp-version><XDoclet:classTagValue tagName="ejb:bean"
> paramName="cmp-version" values="1.x,2.x" default="1.x"
/></cmp-version>
> ---
> >          <cmp-version><XDoclet:classTagValue tagName="ejb:bean"
> paramName="cmp-version" values="1.x,2.x" default="2.x"
/></cmp-version>
> 
> 
> --
> Best regards,
>  Christoph                          mailto:[EMAIL PROTECTED]
> 
> 
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to