Hi,

No, no-one ever replied, but I was able to pin down the problem.  I
believe it's a bug.

Here's my fix:
- Download the XDoclet 1.2.0 beta source
- Open the file
src\modules\ejb\src\xdoclet\modules\ejb\entity\resources\entity-value.xd
t in an editor
- On lines 160 and 205 change the tag: 
     <XDtEjbValueObj:valueObjectMatch/> 
  to:
     <XDtEjbValueObj:currentValueObjectMatch/>
- Compile and deploy

With that small change in the entity value template it now works for me.
Took ages to find. :-)

I'm going to submit the bug and solution tonight.

Hope this helps.

Adam.

PS the full lines where I made the change:
Line 160: <XDtEjbValueObj:forAllAggregates superclasses="true"
valueobject="<XDtEjbValueObj:currentValueObjectMatch/>">
Line 205: <XDtEjbValueObj:forAllComposes superclasses="true"
valueobject="<XDtEjbValueObj:currentValueObjectMatch/>">


-----Original Message-----
From: tek1 [mailto:[EMAIL PROTECTED]] 
Sent: 03 December 2002 15:34
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] 1.2.0 - Problem using cmr with multiple
value-objects and aggregation

hi adam.

were you ever able to resolve this problem that you were having with 
xdoclet?  i am facing the same problem now and can't seem to find a 
resolution.  did anyone ever reply to you?

thank you. 





-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to