I've been tearing my hair out trying to get XDoclet to work on a really
simple test case and am hoping someone here can shed light on what I'm
doing wrong. Here is my setup:

Red Hat Linux 7.3
Sun J2SE 1.4 JDK
XDoclet CVS from evening of June 15, 2002
Ant 1.5Beta2

I have two very simple EJBs, one a stateful session bean, and another an
entity bean. No matter what I put into the javadoc comments, XDoclet
doesn't seem to pay attention! I can't get the entity bean to even show
up in the ejb-jar.xml file, and the session bean's entry in ejb-jar.xml
has generic settings that clearly don't reflect what I put into the
MyTestSessionBean.java file. Would some kind soul take a look at the
attached archive and tell me what I'm doing wrong? It should literally
take just one or two minutes to get it set up because it's so simple.

If you can't save the included attachments, you can get the archive (in
either tgz or zip format) here:

[*] http://freeshell.org/~wchao/xdoclet/mytest.tgz

OR

[*] http://freeshell.org/~wchao/xdoclet/mytest.zip

You'll need to make just one change. Change the value of
xdoclet.install.dir in the build.xml file to the place where xdoclet is
located (I assume you are using the latest CVS version).

I have the default task set to ejbdoclet, so you can just type ant. I
created a "clean" task as well that removes the build directory.

Thanks for anyone who can provide insight on this matter. I'm just
getting started and I've spent a few hours (to no avail) trying to
figure this out.

Regards,
Wellie

Attachment: mytest.tgz
Description: application/compressed

Attachment: mytest.zip
Description: application/compressed

Reply via email to