Hi Phil,
See jwsdp-1.2/jaxb/docs/ant.html for the <produces> nested element. Goes
something like this:
<xjc target="classes">
<schema dir="0p70/xsd" includes="*.xsd"/>
<binding dir="." includes="ubl.xjb"/>
<produces
dir="."
includes="classes/org/oasis/ubl/commonaggregatetypes/*.java"/>
</xjc>
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
Philip A. Culver wrote:
> Hi All,
>
> We are using the com.sun.tools.xjc.XJCTask class as a ANT task in our
> ant build scripts. The "problem" is that every time we compile the
> schema file is reprocessed. It seems that the task does not detect that
> the file has not changed since the last build. Is there any way to
> cause the XJCTask to detect that the file has not been modified since
> the last build?
>
> Thanks,
> Phil Culver