ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Can i include a directory path in targetfile of uptodate task
Date Wed, 03 Apr 2002 18:47:33 GMT
--- Abhay Kulkarni <abhayk@pune.tcs.co.in> wrote:
> can i include a directory name in the target file of uptodate task

You can -- but it'll check the timestamp of the directory itself, not any
files in it.
 
> directory src1 is having java files and src/clas is having class files
>  
> <uptodate property="xmlBuild.notRequired" targetfile="${src}/clas"
>    <srcfiles dir= "${src1}" includes="tempcasetoolnew.java"/>
> </uptodate>

If you only want to check the one .java file against its .class file, just
specify the .class file as the 'targetfile'.

Maybe you should tell us what it is you're actually wanting to do the
<uptodate> for.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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


Mime
View raw message