users@jaxb.java.net

Re: XJC Plugin

From: Kenny MacLeod <kennym_at_kizoom.com>
Date: Tue, 22 Apr 2008 19:28:12 +0100

Aleksei, I seem to recall that you wanted to refactor the various
plugins to all use the same maven2 build process. Was this work completed?

Ringeman, Kenneth wrote:
> I downloaded a plugin jar from JAXB2_Commons and have had problems
> getting it to run.
> XJC finds the plugin but throws an exception that the plugin provider
> can not be cast to the com.sun.xjc.tools.Plugin class.
> After many different tries I decided I needed to debug this problem.
> I downloaded the source for xjc and built it and the same issue existed.
> I downloaded the plugin source, built it within the same project as xjc
> and the same issue still existed.
> I then moved the plugin from the package
> "org.jvnet.jaxb2_commons.defaultvalueplugin" to the
> "com.sun.tools.xjc._addon_.defaultvalueplugin" package in the xjc project.
> This move got the plugin to work.
> What do I need to configure to get these plugins to work without
> performing the above process and using my own build of xjc?
> I'm using jaxb-ri-20071219 and associated xjc.
>
> ken
>
> This message (including any attachments) contains confidential
> and/or proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on
> the contents of this information is strictly prohibited and may
> constitute a violation of law. If you are not the intended
> recipient, please notify the sender immediately by responding to
> this e-mail, and delete the message from your system. If you
> have any questions about this e-mail please notify the sender
> immediately.
>