my dog learned polymorphism*
The moose likes Other Open Source Projects and the fly likes XDoxlet and interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "XDoxlet and interfaces" Watch "XDoxlet and interfaces" New topic
Author

XDoxlet and interfaces

Michael Schoning
Greenhorn

Joined: Oct 30, 2003
Posts: 2
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
Michael Schoning
Greenhorn

Joined: Oct 30, 2003
Posts: 2
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
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: XDoxlet and interfaces