ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhay Kulkarni" <abh...@pune.tcs.co.in>
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="one.java"/>         
           <mapper type="merge" to="${src}/clas/one.class"/>
 </uptodate>


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

Regards,
Abhay.

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