<copy> already does timestamp checks, and it already has @overwrite.

I think you need to use a selector to accomplish what you're trying to do.

-- 
Jeffrey E. Care ([EMAIL PROTECTED])
WAS Pyxis Lead Release Engineer


"Markus M. May" <[EMAIL PROTECTED]> wrote on 01/31/2006 03:14:42 PM:

> We are running ANT in a multiple component project. In this project,
> every component is build each night (full-build) and all the jars are
> updated. 
> These jars are then copied to a "remote" repository, which is synced to
> each developer. Now I just would like to copy files which are not
> already on the remote repository. This cannot be done using the standard
> ant-task copy, since the jars on the local system do have a newer
> timestamp.
> I already implemented something like this via some custom ant-tasks
> (foreach ist just one of them). But I thought that the copy-task should
> define a property (like overwrite) with which I can turn off the
> overwrite at all.
> Is something like this possible?
> 
> R,
> 
> Markus M. May
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to