File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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/*"/>
<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 agree. Here's the link:
subject: XDoclet Problem
It's not a secret anymore!