H'all,

I'm currently looking at writing a maven2 plugin for xdoclet2 - partly because I
need to figure out how to write maven2 plugins, and partly because I badly need
it.

I have looked at the current XDoclet code, and as far as I can figure, I need to
do following:

1) create a class extending org.xdoclet.Xdoclet overriding composeContainer.

2) composeContainer should register the nescessary components with pico

3) tell pico to go to work.

So what I'm trying to figure out is:
 - which components to instantiante and register with pico
 - how to configure the components once instantiated.
 - how do I kick off pico once I've registerede the components.

I know, that this will vary a bit depending on which XDoclet2 plugins should be
invoked, but if someone could point me in the right direction, I think I can
work the rest out.

Does anyone have a small sample which activates XDoclet through a main method as
a standalone program ? I guess that having that, I can work out the rest.

br,
/Sverre Eplov, [EMAIL PROTECTED]


----- End forwarded message -----


Reply via email to