• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XDoxlet and interfaces

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic