ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhay Kulkarni" <>
Subject How to include files in different directories in sourcefiles of uptodate task
Date Tue, 02 Apr 2002 04:16:09 GMT
hi all!!!!
i am new to ant
if possible please help me

in the UPTODATE clause i've to use multiple source file names 
in fact i want to check timestamps of target file with that of multiple source files using
UPTODATE clause and set a property
so can you tell me how to do that

src1 is c:\ant\bin
and src2 is c:\ant\bin\newdir
and i've written code like this 

 <uptodate property="xmlBuild.notRequired">
           <srcfiles dir= "${src1}" includes=""/>         
           <mapper type="merge" to="${src}/clas/one.class"/>

if i want to include another java file in another directory src2 in the sourcefiles
how should i do it
so that i can check timestamps of both and with the class file in target


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message