The ejb:bean tag needs a type for entity beans... which I assume the bean
is. That could be throwing it off... perhaps we need to improve the error
message to report the parameter as well as the tag... then again, it might
be something completely different....
have a look at the account example, grab all the tags from that, and
delete the ones you dont need, but if you check the docs
(http://xdoclet.sourceforge.net/docs) you'll see the full list of options
and their meanings...
hope this helps
cheers
dim
On Mon, 24 Sep 2001, Perry Hoekstra wrote:
> Dmitri Colebatch wrote:
>
> > Its definately complaining about the bean you think it is? I cant think
> > of anything off the top of my head, but if you post your class header and
> > xdoclet task output we can have a look (o:
> >
> > cheers
> > dim
> >
> > On Mon, 24 Sep 2001, Perry Hoekstra wrote:
> >
> >
> >>I have what I believe an simple problem but I am unable to move past it.
> >> I have an EntityBean that I am trying to generate the other
> >>necessary material. However, when the Ant process runs, the output from
> >>the [ejbdoclet] task states that the @ejb:bean tag does not exist even
> >>though I have the tag in the header section of the bean.
> >>
> >>Any thoughts on why the task cannot detect the @ejb:bean tag?
> >>
>
>
> Thank you for the reply. Here is the response from the ejbdoclet task:
>
> [ejbdoclet] Generating Javadoc
> [ejbdoclet] Javadoc execution
> [ejbdoclet] Loading source file
>
>/opt/subrotrack/src/java/com/ingenix/hisit/subrotrack/ejb/person/SubroPersonBean.java...
> [ejbdoclet] Constructing Javadoc information...
> [ejbdoclet] Running ejbdoclet failed:
> [ejbdoclet] @ejb:bean class tag expected in class
> com.ingenix.hisit.subrotrack.ejb.person.SubroPersonBean but not found.
>
> The following is the header from the bean:
>
> package com.ingenix.hisit.subrotrack.ejb.person;
>
> /**
> * (c)2001 Ingenix, Inc.
> *
> * All Rights Reserved.
> */
>
> import javax.ejb.CreateException;
> import javax.ejb.EntityBean;
> import javax.ejb.EntityContext;
> import javax.ejb.EJBException;
> import javax.ejb.RemoveException;
>
> /**
> * This is an entity bean class using CMP representing the
> * <code>subro_person</code> table in the <code>SubroTrack</code>
> * database
> *
> * <ul>
> * <li>
> * </ul>
> *
> * XDoclet Tags
> *
> * @ejb:bean name="subrotrack/SubroPerson"
> *
> * @author Perry Hoekstra
> *
> * @version 1.0
> */
>
>
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user