Milan Kuchtiak wrote:
> Thanks. The plugin architecture is nice.
>
> However, when playing with XJCFacade I had problem with System.exit();
> For my purpose it seems better to use :
> com.sun.tools.xjc.Driver.run(String[] arguments, XJCListener listener);
Yes. That's probably a useful entry point for many tools. JAXB workshop
uses it.
The other option is to drive XJC Ant task.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com