wood burning stoves
The moose likes Other Java Products and Servers and the fly likes XDoclet Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "XDoclet Problem" Watch "XDoclet Problem" New topic

XDoclet Problem

Eddie Long
Ranch Hand

Joined: Nov 02, 2003
Posts: 69
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


See next post for continuation
[ November 11, 2004: Message edited by: Eddie Long ]

...and so help me God.
Eddie Long
Ranch Hand

Joined: Nov 02, 2003
Posts: 69
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 dir="${all-dir}">
<include name="**/*Methods.*"/>
<remoteinterface />
<homeinterface />
<deploymentdescriptor destdir="${all-dir}/META-INF" destinationFile="./xdoc_ejb-jar.xml" validatexml="true"<br /> acceptAbstractClasses="false" acceptInterfaces="false"/>
<oc4j destdir="${basedir}"/>

Please point out what i've got wrong. Thanks
[ November 11, 2004: Message edited by: Eddie Long ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: XDoclet Problem
It's not a secret anymore!