• 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

XDoclet Problem

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've spent the whole day trying to get Xdoclet to generate interface files but with no joy. can Any one help me?

In my bean class I have the following


The is just above the class declaration which is


I then have method level attributes in the MyBizMethods class but no class level attributes

i.e.


See next post for continuation
[ November 11, 2004: Message edited by: Eddie Long ]
 
Eddie Long
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
contd...
My ant script contains


<target name="ejbdoclet" depends="init" description="Creating EJB interfaces and deployment descriptors via XDoclet">
<echo message="Creating EJBs via XDoclet for original BT - start!"/>

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

<ejbdoclet ejbspec="2.0" destdir="${all-dir}" verbose="true">
<fileset dir="${all-dir}">
<include name="**/ejb/*Bean.java"/>
</fileset>
<fileset dir="${all-dir}">
<include name="**/*Methods.*"/>
</fileset>
<remoteinterface />
<homeinterface />
<deploymentdescriptor destdir="${all-dir}/META-INF" destinationFile="./xdoc_ejb-jar.xml" validatexml="true"<br /> acceptAbstractClasses="false" acceptInterfaces="false"/>
<oc4j destdir="${basedir}"/>
</ejbdoclet>
</target>

Please point out what i've got wrong. Thanks
[ November 11, 2004: Message edited by: Eddie Long ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic