Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XDoclet Problem

 
Eddie Long
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic