On Wed, 2004-03-17 at 15:35, Olaf Bergner wrote:
> I am using xdoclet 1.2 on an (abstract) session bean "DocumentManagement" to
> generate local/remote interfaces and a concrete session bean subclass. But
> instead of producing "DocumentManagementLocal", "DocumentManagementRemote",
> "DocumentManagementSession" xdoclet gives me "beanLocal", "beanRemote",
> "beanSession", ... Seems like xdoclet doesn't know about the proper class
> name. Why would this be? Excerpts from original class and ant task below.
...
> /**
>  * @ejb.bean
>  *            name = "document-management-bean"

That's probably where it's getting the names from, though I'm not sure
why it's stripping off the stuff before the last '-'.  If I remember
correctly, the stuff that calculates the names by stripping off the
"EJB" or "Bean" from the bean classname only sets the default to use if
there's no name parameter on the @ejb.bean tag.  Try changing it to
@ejb.bean name="DocumentManagement" and see if that helps.


Andrew.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to