aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "XDoclet Problem" Watch "XDoclet Problem" New topic
Author

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

i.e.


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
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XDoclet Problem