Hi I am looking to create a new XDoclet subtask. I want to generate Corba IDL files for EJB's. One approach would be to extend the ejb subtasks, but I would rather create a new subtask. I would also prefer using the remote and home interface rather then the ejb implementation class. Partly because it should be enough to create an idl from an existing Ejb without having its source code, just its interfaces. My problem is that I can't make the XDtClass:forAllClasses and the XDtMethod:forAllMethods work on interfaces. Do I really have to create a new InterfaceTagsHandler to be able to parse interfaces or is there a trick I don't know about to make existing taghandlers work with interfaces? thanks, Mike
Joined: Oct 30, 2003
I crash and bang and can not find a solution. Then I post it on a newsgroup and bang I see it myself. Whay is it always like that? It wasn't a problem reading interfaces, it was a problem reading generated interaces. Easy fix I just added a generated attribute that can be true or false to the ClassTagsHandler. thanks anyway, Mike
Joined: Jul 21, 2003
I'm glad you found what you were looking for. If only I had time to post and plug XDoclet in Action... I would urge you to submit your task to the XDoclet project when you get it done. I bet others might find it useful too...
[<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]