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
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...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com