• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem solved.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic