On Wed, 2003-03-26 at 08:21, Gordon Luk wrote: > I start learning use the xdoclet with ejbdoclet. But i try for more time > (mostly , reference from sample...), but it don't generate VO java > files... Could anyone point me to the light way?
Do any other files get generated? i.e. is it *only* the VOs that don't work? Are the other correct and as you expect them? > ----------->8----------------RecordBean.java------ > .... > * @ejb.value-object > * name="Record" > * match="*" > * > * @ejb.value-object > * name="RecordAutoMachine" > * match="AutoMachine" > * > .... > > /** > * @ejb.interface-method > * view-type="both" > */ > public abstract RecordValue getRecordValue(); > > /** > * @ejb.interface-method > * view-type="both" > */ > public abstract void setRecordValue(RecordValue value); > ... > --------------------------------->8---------- No @ejb.persistence tag? Given how many times <XDtEjbPersistent:forAllPersistentFields ...> appears in the valueobject.xdt template, I'm not surprised you're having problems :-) Having said that, I'm still surprised if it generates nothing - I'd have thought it more like you'd get a VO containing no fields. Your class-level javadoc comment is in the right place, isn't it? (i.e. immediately before the class declaration) If there's other stuff being generated, that suggests your fileset is okay; next most likely reason no VOs would be generated for the class is it doesn't "see" the ejb.value-object class-level tag. But if that's the case I wouldn't expect it to see your @ejb.ejb-ref tag either and the relevant element would be missing from the DD. Andrew. ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
