users@jaxb.java.net

Re: Use of <appinfo> with JAXB

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 10 Jul 2003 09:32:41 -0700

"Pratt, Jerald" <jerald.pratt_at_ngc.com> wrote:
> Ed,
>
> I have a similar set up and my xjc task does work. Its just the
> extension="true" attribute that doesn't seem to be making a difference. The
> schemas that I'm using have some abstract elements which require me to use
> the -extension argument to the xjc command. Supposedly this is supported in
> the xjc ant task with an extension="true" attribute to the xjc task. But
> adding this doesn't seem to make a difference when running ant as it does
> when I simply run xjc from the command line.
>
> Jerald

Looking at the code, it should work, but if you are happy to let us
investigate why, you should be able to get around this by having:

    <arg value="-extension" />


regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com