Hi,

I can avoid the bug by running <ejbdoclet> twice, with only the second run
creating the value objects.....(m)ugly, but it works...

Chris
-=-=-=

-----Original Message-----
From: Shaw, Chris 
Sent: Monday 11 November 2002 15:11
To: '[EMAIL PROTECTED]'
Subject: [Xdoclet-user] Value Object Bug is back?


Hi,

I've created a Value Object relation the same way as it is in the samples:
     * @ejb.value-object
     *    aggregate="my.package.BuildingValue"
     *    aggregate-name="BuildingView"
     *    match="normal"
     *    members="my.package.BuildingLocal"
     *    members-name="Building"
     *    relation="external"
     *    type="Collection"
     */

But I get the following error:
[ejbdoclet] xdoclet.XDocletException: The Bean class is needed but not found
in Xdoclet source path for interface BuildingLocal

And when I re-run the task (after the file has obviously now been created) I
get a different error:
[ejbdoclet] xdoclet.XDocletException: Invalid return type
(my.package.BuildingLocal on aggregate or composition.

I found the same bug mentioned at:
http://www.mail-archive.com/xdoclet-user@;lists.sourceforge.net/msg02133.html
but this was from June and stated that the latest CVS version fixed the
problem. Has this crept back in because I have this problem with both the
1.2 Beta version and also the latest CVS build (downloaded today)?

TIA

Chris
-=-=-=

PS - the suggestion from Vincent to fix the first problem (by putting an
extra <fileset> in specifying the Local class) did not work.....

Any e-mail message from the European Central Bank (ECB) is sent in good
faith but shall neither be binding nor construed as constituting a
commitment by the ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above.
Any unauthorised disclosure, use or dissemination, either in whole or in
part, is prohibited.
If you have received this e-mail in error, please notify the sender
immediately via e-mail and delete this e-mail from your system.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to