ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Can i include a directory path in targetfile of uptodate task
Date Wed, 03 Apr 2002 18:47:33 GMT
--- Abhay Kulkarni <> 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=""/>
> </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.



Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message