ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: How to determine if files in a fileset are up to date?
Date Fri, 05 Dec 2003 11:51:27 GMT
You should have a look at the selectors, in the ant manual under concept and
types.
selectors are nested elements of filesets, which can restrict a fileset to
fit certain criteria.

Cheers,
Antoine

-----Urspr√ľngliche Nachricht-----
Von: Dirk Schnelle [mailto:dirk@tk.informatik.tu-darmstadt.de]
Gesendet: Freitag, 5. Dezember 2003 12:38
An: Ant Users List
Betreff: AW: How to determine if files in a fileset are up to date?



> You (I think) need to change this to:
>
>     <uptodate property="preprocessNotRequired">
>       <srcfiles dir= "${src}" includes="**/*.oj"/>
>       <mapper type="glob" from="*.oj" to="${build}/*.java"/>
>     </uptodate>


Yes. Thanks a lot.

The problem was that uptodate could not find my files.
Since ${build} is not a subdirectory of ${src} I have to adjust the setting
for build.

There is still another question. Is there a way to determine a fileset
containing only those files that are not up2date?

/Dirk





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


Mime
View raw message