users@jaxb.java.net

Re: XJC Ant task

From: Tim Davidson <tim.davidson_at_greenhatconsulting.com>
Date: Tue, 29 Jul 2003 16:33:51 +0100

Hi,

  could you post/where could we find an example of running xjc as an ant task?

-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Tuesday, July 29, 2003 4:27 PM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: XJC Ant task


Roman Rytov <rrytov_at_entopia.com> wrote:
>
> If "extension" attribute is set to true then dependency feature stops
> working. I mean all schemas are being recompiled from scratch regardless
> changes in them. If the attribute is ommited then non changed schemas
> are not recompiled again.
>
> Is it a bug?

If it is the case, it must be a bug. But given the way the code is
written, it's hard to see how a problem like that could happen.

Could you run Ant with the -verbose option? It will show you how XJC is
computing dependencies.


regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com