WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Plugin development and debug

Re: Plugin development and debug

by Aleksei Valikov :: Rate this Message:

| View in Thread

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Plugin development and debug