I think putting this in your build.xml will help:


<ejbdoclet ...>

        ...
        <jboss version="3.1"/>
        ...
</ejbdoclet>

The file XDoclet uses to generate jboss.xml is jboss_xml.xdt, and its in xdoclet-jboss-module.jar somewhere. It will only generate the cache-invalidation tags if you have JBoss version 3.1 or later.

XDoclet-1.2b2 does not support JBoss 3.2 version jboss.xml files, so you have to tell XDoclet you have JBoss 3.1 to get the cache-invalidation stuff to be generated properly. If you haven't set the <jboss version="..."> tag, yet then you've been getting the default jboss.xml, which is for JBoss version 2.4, I think. Probably not what you want.

-nash


On Thursday, March 20, 2003, at 04:18 PM, Tarek Hammoud wrote:


Nash,

Thanks for your prompt reply. I am using 1.2b2.

What do you mean when you say that it requires jboss
dtd 3.1 or higher ? I am deploying on JBOSS 3.2 so I
should be OK.

Could you please be a bit more verbose on how to fix
this. Thank you very very much.

Tarek

--- "nash e. foster" <[EMAIL PROTECTED]> wrote:

The template from Xdoclet-1.2beta3 (CVS) requires you have jboss DTD version 3.1 or greater. We use jboss version 3.0.4 and it uses DTD version 3.0. I think 3.0.5 or 3.0.6 introduced DTD version 3.1. All very confusing.

-nash

On Thursday, March 20, 2003, at 03:40  PM, Tarek
Hammoud wrote:

Hello,

The @jboss.cache-invalidation with value="true"
does
not emit anything in the jboss.xml descriptor. I
am
using xdoclet 1.2b2. Thanks for your help.

T Hammoud



***********************************************************************
This message is intended only for the use of the
intended recipient and
may contain information that is PRIVILEGED and/or
CONFIDENTIAL.  If you
are not the intended recipient, you are hereby
notified that any use,
dissemination, disclosure or copying of this
communication is strictly
prohibited.  If you have received this communication
in error, please
destroy all copies of this message and its
attachments and notify us
immediately.

***********************************************************************




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.
Does your code think in ink? You could win a Tablet
PC.
Get a free Tablet PC hat just for playing. What are
you waiting for?

http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]

https://lists.sourceforge.net/lists/listinfo/xdoclet-user


__________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com


------------------------------------------------------- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user


***********************************************************************
This message is intended only for the use of the intended recipient and
may contain information that is PRIVILEGED and/or CONFIDENTIAL.  If you
are not the intended recipient, you are hereby notified that any use,
dissemination, disclosure or copying of this communication is strictly
prohibited.  If you have received this communication in error, please
destroy all copies of this message and its attachments and notify us
immediately.
***********************************************************************



-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to