This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cmp-field elements are missing in ejb-jar.xml generated by XDoclet

 
Caly LeeAnn
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using XDoclet 1.2.3 to generate ejb-jar.xml. Somehow there are no cmp-field elements generated. There is a '@ejb:cmp-field' for the getter methods of the EJBs. But it doesn't make a difference. What should I do to make XDoclet generate the cmp-field elements?

The following is the task that I use to generate ejb-jar.xml and the ejb related classes.
<target name="generate-ejb">

<echo message="xdoclet : ${xdoclet.lib.dir}"/>
<echo message="xdoclet1 : ${xdoclet1.jar.path}"/>
<echo message="xdoclet2 : ${xdoclet2.jar.path}"/>
<echo message="log4j : ${log4j.jar.path}"/>
<echo message="ant : ${ant.jar.path}"/>
<echo message="ejb : ${ejb.jar.path}"/>

<taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask" classpathref="xdoclet.lib.path"/>

<ejbdoclet destdir="${gen.src.dir}">
<packageSubstitution packages="ejb" substituteWith="interfaces"/>
<fileset dir="${src.dir}">
<include name="**/*EJB.java"/>
</fileset>

<deploymentdescriptor destdir="${ejb.deployment.dir}"/>

<jboss destdir="${ejb.deployment.dir}" version="4.0" datasource="java:/LicenseServerDS" datasourceMapping="MySQL" />


<homeinterface/>
<remoteinterface/>
<localinterface/>
<localhomeinterface/>

<utilobject includeGUID="true" cacheHomes="true">
<packageSubstitution packages="ejb" substituteWith="util"/>
</utilobject>

<entitycmp/>
<session/>

</ejbdoclet>
</target>


Thanks in advance.
 
Caly LeeAnn
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic