• Post Reply Bookmark Topic Watch Topic
  • New Topic

xDoclet - BMP Generation  RSS feed

 
Scott Selikoff
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm generating interfaces/classes for EJBs in Eclipse using xDoclet and having some trouble with BMPs.

The Interfaces are generated correctly for all beans in the client jar. The *CMP.java files for container entity beans are generated correctly in the EJB jar. But, the *BMP.java files for the bean managed entity beans are generated in the client jar, which is incorrect; they should be generated in the EJB jar.

Any ideas?
 
Scott Selikoff
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm closer to a solution... Eclipse generates a file tempAnt.xml. At the bottom of it defines where it copies to the client jar and which it leaves alone:



I can make the change to ignore BMP but it will be overwritten on regeneration... so new question: How do I modify/guide the generation of this temporary script?
 
Scott Selikoff
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I sort of found a solution... I modified the xdoclet plugin. There's an xdoclet.xml inside the templates\builder that can be changed to add the exclusions I want.

I supposed this is the best way to do this. Modifying a plugin seems wrong to me though.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!