Thanks to you and Dmitri Colebatch, who both corrected my use of javadoc delimiters (/** instead of /*). That fixed the problem. Regarding the classpathref in ejbdoclet, I thought I read somewhere on this list that the CVS version (candidate for 1.2) prefers the classpath to be specified only in the taskdef. That's how I have it and it seems to work fine. Do I need to specify the classpath in both the taskdef and the ejbdoclet tags?
On Sun, 16 Jun 2002, Ara Abrahamian wrote: > Date: Sun, 16 Jun 2002 09:49:12 +0430 > From: Ara Abrahamian <[EMAIL PROTECTED]> > To: 'Wellie W. Chao' <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Subject: RE: [Xdoclet-user] XDoclet won't properly create/update XML > descriptors in META-INF > > Two problems: > - add a classpathref or classpath to <ejbdoclet/>. The classpath should > have ejb.jar/whatever-jar-your-code-uses in it. > - The javadocs for class headers are wrong. Use /** not /*. > > Ara. > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > > [EMAIL PROTECTED]] On Behalf Of Wellie W. Chao > > Sent: Sunday, June 16, 2002 7:02 AM > > To: [EMAIL PROTECTED] > > Subject: [Xdoclet-user] XDoclet won't properly create/update XML > > descriptors in META-INF > > > > 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 > > _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
