--- Nicolas Vervelle <nicolas.vervelle@steria.com>
wrote:
> Hi,
>
> there's probably a simple way to do it, but I don't
> know how.
>
> I want to compare two files (see if they have the
> same contents,
> timestamp can be different) and then if they differ
> I want to copy an
> other file.
> Can someone help me ?
look for the filesmatch condition here:
http://ant.apache.org/manual/CoreTasks/conditions.html
-Matt
>
> Thanks in advance,
> Nicolas
[SNIP]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|