users@jaxb.java.net

Re: Problem with 1.0.1 XJC Task and .impl.runtime

From: Ed Mooney <Ed.Mooney_at_sun.com>
Date: Wed, 11 Jun 2003 09:55:26 -0400

Hi Gary,

Use nested <arg> elements:

     <xjc>
       .
       .
       <arg value="-use-runtime"/>
       <arg value="foo.impl.runtime"/>
     </xjc>

See jwsdp-1.2/jaxb/docs/ant.html.

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
Gary Gregory wrote:
> Hello JAXB,
>
> The xjc command line is documented as being able to re-use an existing
> .impl.runtime package but this workaround is not available from the ant
> task it seems; which means that with our many XSDs, our build produces
> .impl.runtime packages all _over_ the place, and since this code is
> always the same, wastes space. It would be a shame to force us to change
> our build process... can you post an updated ant task please?
>
> Thanks,
> Gary
>