if you're getting nothing generated, the most likely cause is that your beans dont implement (Entity|Session)Bean or the ejb classes aren't in the classpath of the xdoclet task. Have you got both of these done?
hth dim ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 10:08 AM Subject: [Xdoclet-user] @ejb.home vs. @ejb.interface... > Hi, > > I am tracking an error I have with the latest CVS xdoclet version, that > has brought me to the edge of madness and back to my c++ path for a > long time... > Anyway I have been writing an EB, and actually I could have been through > with all of this if I had choosen to write all the code (local/remote + > *.xml files) by hand... Anyway I cannot biring xdoclet to generate me > these missing files. The only thing I get are almost empty jboss.xml and > aejb-jar.xml files, no interfaces, as I stated before, have been > generated through this process. > I have the feeling that a lot of things have been changed with the > upgrade to the beta version 1.2 and there is not yet an adequate > documentation for it. > Anyway I hoped to get the solution to my problem with the @ejb.interface > tag (what didn't solve it) then later I discovered the @ejb.home tag. > The desc. of both tags are quite similar, and it is not easy to make a > difference between both of them. I would appreciate some help concerning > this issue... > I allow myself to paste my code on this mail in the expectance to get > some suggestions about improving it. > > Best regards. > > --- > Eric Tchepannou > > /** > * > * @ejb.bean > * name="ejb/EBbPerson" > * diplay-name="Person bean" > * jndi-name="ejb/Person" > * description="Bean managed Entity Bean" > * type="BMP" > * prim-keyfield="m_Login" > * generate="true" > * view-type="both" > * > * > * @ejb.pk > * class-name="java.lang.String" > * > * > * @jboss.cmp-field > * field-name="m_FirstName" > * column-name="firstname" > * > * @jboss.cmp-field > * field-name="m_LastName" > * column-name="lastname" > * > * @jboss.cmp-field > * field-name="m_Password" > * column-name="password" > * > * @jboss.cmp-field > * field-name="m_Login" > * column-name="login" > * > * @jboss.create-table="false" > * @jboss.remove-table="false" > * @jboss.table-name="tbl_person" > * > * @ejb.finder > * signature="java.lang.String findByLogin(String p_Login)" > * > * @jboss.finder-query > * name="findByLogin" > * query="login = ?" > * read-ahead="no" > * > * @author Eric Tchepannou > * > * @version $Id$ > */ > > PS:Which values does a xdoclet bool parameter can take true/false, > on/off or yes/no? It seems to be working with three of them.... > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
