Is there a way to have copy not copy regardless of whether there is a
newer or older version already there?
Francisco
On Jan 7, 2008, at 10:05 PM, <[EMAIL PROTECTED]> wrote:
Easier would be just to do a
<copy todir="/usr/share/ant/lib">
<fileset dir="."
includes="bsf.jar,commons-logging-1.1.jar,js.jar"/>
</copy>
<copy> would check if the target file exists or is older than the
copied
file
and skip copying if not.
You dont have to copy the ant-apache-bsf-1.7.0.jar as it should be
present
because it's part of the Ant distro.
Much more elegant would be using Ivy ... (I hope someone jumps in here
;)
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]