ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: uptodate usage
Date Fri, 05 Nov 2004 14:52:55 GMT
> From: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com]
> 
> i'm trying to determine if a set of target files are current compared
to a
> source xsd file.  can i use uptodate to accomplish this?  i have an
xml
> schema, myschema.xsd, which is used by castor to generate some
classes.  i
> only want to run the generation if the schema has changed.
> 
> uptodate seems to be something like what i'm after, but i'm not sure
how
> to map the source (one .xsd file) to a target package, or just a
folder (
> generated code goes into a src/gen folder).

<uptodate> can help, but Ant-Contrib's <outofdate> is much better. And
is any case, it would be much better is the castor Ant task did
timestamp checking itself, assuming there's such a task. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message