hi,
i'm having some problems with the cmp class generation.
first off, all my cmp classes say the following
/* This class has NO primkey-field */
even though i've added the @ejb:pk-field tag.
for example,
/**
* @ejb:pk-field
* @ejb:interface-method
* @ejb:persistent-field
*/
public abstract Integer getId();
/**
* @ejb:interface-method
*/
public abstract void setId(Integer id);
am i using the pk-field tag incorrectly?
secondly, one of my classes is crapping out when i run entitycmp
[ejbdoclet] Running <entitycmp/>
[ejbdoclet] Generating CMP class for 'test.server.entity.OpsEJBImpl'.
[ejbdoclet] Generating CMP class for 'test.server.entity.ResEJBImpl'.
[ejbdoclet] Generating CMP class for 'test.server.entity.GroupEJBImpl'.
[ejbdoclet] Generating CMP class for 'test.server.entity.TypeEJBImpl'.
[ejbdoclet] (TemplateEngine.invokeMethod 776 ) Invoking method failed:
pkClass, line=2 of template file:
file:/barbee/dev/test/server/xdoclet/ejb/entity-value.j
[ejbdoclet] java.lang.reflect.InvocationTargetException
[ejbdoclet] at sun.reflect.Gen
this second problem only started happening when i added value-object tags.
does value-objects work in the current release? has anybody seen this before?
barbee.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user