ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Tolmasky <tolma...@gmail.com>
Subject Re: AW: Easier Way To Check and Install jars
Date Tue, 08 Jan 2008 06:13:29 GMT
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, <Jan.Materne@rzf.fin-nrw.de> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message