ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil VVNN <>
Subject [Ant 1.6.5] Question on "OutOfDate" Usage
Date Fri, 28 Sep 2007 16:44:35 GMT


I'm trying to use "OutOfDate" task for the following requirement,

There is a XSD directory which has few XSD documents, I want XJC to generate
Java files only if there is any modification to XSD's. I need all the Java
files have to be generated even though only one XSD file is changed.

So, I tried the following approach,

        <fileset dir="${xjc.schemas.dir}" includes="*.xsd"/>
        <pathelement path="${}"/>
        <antcall target=""/>

xjc.schemas.dir - Has all the XSD's - Has all the Java classes - Target to generate Java classes through XJC

But is called always (no matter whether there is a change
to XSD's or not).

Any ideas? Thanks.
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message