Hi, i�m pretty newbie on xdoclet.
I want to generate just the xml stuff. I have a class
named "com.myemp.myclass.MyClassBeanCMP".
The Ejb name is "MyClass"
When I run EJBDoclet, it generates <ejb-class> tag
pointing to com.myemp.myclass.MyClassCMP
with gives a class not found error.
Well I don�t know what parameter pass to ejbdoclet to
change his behaviour. I could change the Home and Remote
classes but I haven�t found anything about the bean
class.
I�m using xdoclets 1.2.
here is an example of my tag:
/* @ejb.bean
* name="MTAluno"
* type="CMP"
* jndi-name="MTAluno"
* schema="Aluno"
*
* @ejb.finder
* signature="java.util.Collection findByFilter
(apyon.util.FacadeLoader loader)"
* unchecked="true"
* query="SELECT OBJECT(a) FROM Aluno a"
*
* @ejb.transaction
* type="Required"
*
* @ejb.interface
* remote-
class="apyon.components.matric.mtaluno.MTAluno"
* generate="false"
*
* @ejb.home
* remote-
class="apyon.components.matric.mtaluno.MTAlunoHome"
* generate="false"
*
* @ejb.value-object
* match="*"
*
* @ejb.pk
* class="apyon.components.matric.mtaluno.MTAlunoPK"
* generate="false"
*
* @ejb.resource-ref
* res-name="jdbc/matric"
* res-type="javax.sql.DataSource"
* res-auth="Application"
* jndi-name="jdbc/matric"
* @jboss.persistence
* create-table="false"
* remove-table="false"
* @ejb.persistence
* table-name="Aluno"
*
*/
public abstract class MTAlunoBeanCMP implements
EntityBean {
-------
(...)
And this is the ejb-jar.xml generated :
<entity>
<description><![CDATA[Abstract MTAlunoBean Container
Managed Entity]]></description>
<ejb-name>MTAluno</ejb-name>
<home>apyon.components.matric.mtaluno.MTAlunoHome</home>
<remote>apyon.components.matric.mtaluno.MTAluno</remote>
<local-
home>apyon.components.matric.mtaluno.MTAlunoLocalHome</lo
cal-home>
<local>apyon.components.matric.mtaluno.MTAlunoLocal</loca
l>
<!-- THIS IS THE ERROR!! SHOULD BE MTAlunoBeanCMP -->
<ejb-
class>apyon.components.matric.mtaluno.MTAlunoCMP</ejb-
class>
<persistence-type>Container</persistence-type>
(...)
__________________________________________________________________________
E-mail Premium BOL
Antiv�rus, anti-spam e at� 100 MB de espa�o. Assine j�!
http://email.bol.com.br/
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user