I have a tag on my bean

 * @ejb:security-identity run-as="sa"

Now this is supposed to be an EJB 2.0 only tag but if I generate with
EjbSpec="1.1" I still get the security-identity element in ejb-jar.xml

It would seem that ejb-body.j needs a guard like this

  <XDtConfig:ifConfigParamGreaterOrEquals paramName="EjbSpec" value="2.0">

around the section that starts with

       <XDtClass:forAllClassTags tagName="ejb:security-identity">


I would like to not have to modify my bean to be able to generate 1.1 & 2.0
ejb-jars for it (i.e. WLS 6.1 & WAS 4.0)

Does that sound sane ?

If I want to run with a hand modified ejb-body.j can I just put my own copy
in the classpath "xdoclet/ejb/ejb-body.j" before xdoclet.jar ?

Thx,
jmp


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

Reply via email to