users@jaxb.java.net

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

From: Franklin, Brian <brian.franklin_at_ciraden.com>
Date: Tue, 10 Jun 2003 13:56:30 -0400

Have you tried using the <arg> nested tag? You should be able to pass it
any of the command-line arguments that way, including something like the
-use-runtime switch. I haven't tried it yet personally, but it's in the
JAXB docs (i.e. %JWSDP_HOME%\jaxb\docs\ant.html ).

Brian Franklin

-----Original Message-----
From: Gary Gregory [mailto:ggregory_at_seagullsw.com]
Sent: Tuesday, June 10, 2003 2:23 AM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Problem with 1.0.1 XJC Task and .impl.runtime



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