XDoclet: Generate EJB stuff in a subdirectory?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Strelok_Strelok
Posted On:   Wednesday, November 8, 2006 07:05 PM

Let's say I have some packages: com.foo.bar com.foo.bonk And potentially many others, each of which may or may not contain EJBs. I want the stuff like local, local home, et cetera created in: com.foo.bar.ejbStuff com.foo.bonk.ejbStuff And so on. Is there an easy way to do this using xdoclet? The closest I have found so far is "packageSubstitution", but that seems to be intended to fulfill a different requirement. You could use it, for example, if you had: com.foo.bar.ejb com.foo.bonk.ejb And wanted: com.foo.bar.interfaces com.foo.bonk.interfaces But that's n   More>>

Let's say I have some packages:



  • com.foo.bar

  • com.foo.bonk


And potentially many others, each of which may or may not contain EJBs.


I want the stuff like local, local home, et cetera created in:



  • com.foo.bar.ejbStuff

  • com.foo.bonk.ejbStuff


And so on.


Is there an easy way to do this using xdoclet?


The closest I have found so far is "packageSubstitution", but that seems to be intended to fulfill a different requirement. You could use it, for example, if you had:



  • com.foo.bar.ejb

  • com.foo.bonk.ejb


And wanted:



  • com.foo.bar.interfaces

  • com.foo.bonk.interfaces


But that's not at all what I want.


I have tried a couple of things:






The first seemed to have no effect at all; the second caused XDoclet to blow up.


Any ideas?


Thanks in advance for any help.

   <<Less
About | Sitemap | Contact