Well, there's the ejbClassNameSuffix parameter:

"A comma-separated list of endings which should be removed from the bean
class name to generate a bean's name if no name parameter is specified
in the @ejb.bean tag."

But the default value is "Bean,EJB,Ejb", so it should be doing it
automatically for you. My beans are FooEJB, and it works just as you
want (FooLocal, FooLocalHome, etc).

Sorry, I haven't used Maven so I can't help ya there.

David Harkness
Sony Pictures Digital Networks
(310) 482-4756


-----Original Message-----
From: Andy Jefferson [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 11, 2003 10:22 AM
To: [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] xdoclet/ejbdoclet : Naming of generated
files


On Fri, 2003-07-11 at 16:54, Jesper Linvald wrote:
> <remoteinterface pattern="{0}WhatEverYouLike"/> where {0} is the core 
> name with nothing in front or after
> 
> You can apply this pattern attribute to all the subtasks!
> 
> This pertains to the Ant tasks and I know nothing about Maven :)

Thanks. Maven's plugin has the same attributes and this works. The only
thing it doesn't do is that the

{0}

will automatically add

'name'Bean

whereas in my case I want to add just

'name'

and add on my own suffix. Are there alternatives to the {0} documented
somewhere that would allow me to do this ?


-- 
Andy


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to