Thanks, Andrew, you solved my problem.

Now I am encountering 2 other problems:

1) I am using id as a primary key.
----------------------------------

In the Value-oobject, this is declared:

   private java.lang.Long id;
   private boolean idHasBeenSet = false;

It creates a method:

   protected boolean hasIdentity()
   {
          return IdHasBeenSet;
   }
Where IdHasbeenSet has a capital "I" and this throws an Error.

--> How can I circumvent this?

2) No problem, but not so nice:
-------------------------------

It imorts "java.util.*;"  which it never uses. Can I switch that off?

Thanks for your help.

Klaus





-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Andrew
Stevens
Gesendet: Freitag, 16. Januar 2004 01:22
An: [EMAIL PROTECTED]
Betreff: Re: [Xdoclet-user] NewBie: Am I right?


On Thu, 2004-01-15 at 20:24, [EMAIL PROTECTED] wrote:
> I created a CMP bean, which works nicely. To create a value-object, I
> wrote on class-level:
>
>     * @ejb.value-object
>     * name = "All"
>     * match = "*"
>
> When I run xDoclet, it does not create a value-object. No error
> message, nothing. I tried this with another CMP with the same result.
> Am I doing something wrong here? Do I have to add other tags as well?

It's checking the obvious, but you do have a <valueobject> subtask in
your Ant build.xml?  If not, there won't be anything generated.


Andrew.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to