users@jaxb.java.net

Re: Use of <appinfo> with JAXB

From: Pratt, Jerald <jerald.pratt_at_ngc.com>
Date: Wed, 09 Jul 2003 15:46:11 -0700

Ed,

You are right, my statement should have said "${src.dir}".

But adding the extension="true" doesn't seem to make any difference in my
output/error messages whereas if I run xjc on the command line with the
-extension option it does make a difference.

Ideas????

Jerald


-----Original Message-----
From: Ed Mooney [mailto:Ed.Mooney_at_Sun.COM]
Sent: Wednesday, July 09, 2003 3:44 PM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: Use of <appinfo> with JAXB


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
>
>
[ ... ]