users@jaxb.java.net

Re: Use of <appinfo> with JAXB

From: Ed Mooney <Ed.Mooney_at_sun.com>
Date: Wed, 09 Jul 2003 18:43:56 -0400

Hi Jerald,

XJCTask does support an extension attribute.

Not sure it's relevant, but shouldn't "{src.dir}" be "${src.dir}"?

Regards,
--
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Pratt, Jerald wrote:
> Ryan,
>
> I was able to get some success with using the -extension option that you
> suggested.  But I can't seem to get this to work from my ant task.
> According to the Ant page in the JAXB documentation, I should be able to
> provide an extension="true" attribute to my <xjc> task.  But this does not
> seem to do anything.  Do you know if the extension attribute is actually
> supported for the xjc ant task????
>
>         <xjc target="{src.dir}" extension="true">
>                 <schema dir="src" includes="*.xsd"/>
>         </xjc>
>
> Jerald
>
>
[ ... ]