users@jaxb.java.net

Re: Use of <appinfo> with JAXB

From: Pratt, Jerald <jerald.pratt_at_ngc.com>
Date: Thu, 10 Jul 2003 09:30:35 -0700

Kohsuke,

Is this a subelement to the <xjc> element????

Jerald


-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Thursday, July 10, 2003 9:33 AM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: Use of <appinfo> with JAXB


"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