ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: ANT feature
Date Fri, 23 Jun 2000 23:11:35 GMT
At 09:26  23/6/00 -0700, you wrote:
>Hi all,
>I have a basic ANT question. 
>Is it possible to execute a target only if it is 
>outdated? That is only if one of the files it depends 
>on is newer than the target file (assuming the target 
>is a file). How would I do that in ANT?

at the moment you would have to code it into a task.

>I am using JavaCC and JJTree, parser generators, and
>these tools will not compare the time stamps of the
>input grammar and existing output files.

FWIW I believe someone on the list has already written tasks to do just that.



| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |

View raw message