On Wed, 2003-09-17 at 08:49, Thomas Otto wrote: > Hello, > > I need an substitution pattern for the following result: > > The Bean is named : EbXXXBean > the pattern result must be: EbXXX > > But I can only add something to the bean name, nothing delete. > > <ejbdoclet> > ... > <remoteinterface pattern="{O}Remote"/> > ... > </ejbdoclet> > > Has anybody an idea?
Sounds like what you're asking for is the default behaviour. The default value for the bean name strips off any "Bean", "EJB" or "Ejb" from your bean's class name, so the remote interface's default pattern "{0}" should be EbXXX as required. See the docs for the ejbdoclet task's "ejbClassNameSuffix" parameter if you need anything else removing (http://xdoclet.sourceforge.net/ant/xdoclet/modules/ejb/EjbDocletTask.html). Andrew. > Thank you > Bye > Thomas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user