Hi.
> I'm trying to setup an environment to debug pre-existent JAXB plugins.
> I'm basically running the xjc from ant.
>
> Question.: How can I debug / setup an environment for plugin debugging ?
Take a look at the jaxb2-commons project. The modules "basic" and
"annotate" are supported by a very nice suite of unit tests.
Unit tests are based on the maven-jaxb2-plugin-testing module which
contains the RunXJC2Mojo class. This class allows for executing the XJC2
Maven plugin programmatically.
Also, watch the following document:
http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=Jaxb2CommonsUsingAndDeveloping
I'll be working on the "Developing plugins" section next days.
Bye.
/lexi