Damon Rolfs [EMAIL PROTECTED] wrote:
> I'm hoping someone can point me in the right direction on how
> to create a tag that generates Java code that contains
> attributes used by other tasks. For example if I want to
> create a component tag that generates a bean implementation
> with ejb or jmx attributes, which subsequently results in additional
> code generation? 

For an example, you can look at the entityfacade task. It generates
session bean code for entity beans. The problem, however, is that the
generated code does *not* get processed in the same run. You must
specifically process it using a second pass of XDoclet. Given that it
works that way, I assume this cannot be done by XDoclet 1 and probably
not the new one either. For one thing, you need to specify the files to
process at the start of the run.

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to