ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Clitheroe <g.clithe...@gmail.com>
Subject Re: Managing external tool with ivy
Date Tue, 11 Jan 2011 07:15:34 GMT
Hi Pat,

is it an option to use the ant 'get' task?  This can use time stamping (for
http) to reduce downloads

http://ant.apache.org/manual/Tasks/get.html

<http://ant.apache.org/manual/Tasks/get.html> This is how we boot strap Ivy
itself.  We use an ant property for the Ivy version.

Cheers,
Geoff


On Tue, Jan 11, 2011 at 7:09 PM, Leamon, Pat <Pat.Leamon@sensis.com.au>wrote:

>
> Hi,
>
>  I'm trying to manage versions of a tool used as part of the build
> process, not a dependency of the app itself.  I've packaged it into a
> zip and put it into our local repository.  This zip is then resolved by
> ivy and the appropriate version is downloaded, then the build itself
> unpacks the zip ready for the tool to be used.
>
>
>
> At the moment I'm doing an ant <condition/><filesmatch></condition>
to
> check if the tool zip has changed since the last build (I keep a copy
> when I unpack it separately).  This saves me unpacking it every build,
> but since the tool zip is large I still get a 5-10 second penalty for
> the binary file comparison.
>
>
>
> Is there any way I can get feedback from ivy to say if the dependency
> has changed?
>
>
>
> Thanks,
>
>  Pat
>
>
>
> Sensis. Helping you find, buy and sell.
>
> www.sensis.com.au - www.yellow.com.au - www.whitepages.com.au -
> www.citysearch.com.au - www.whereis.com.au
>
> Sensis cares for the environment - think before you print.
>
> This email and any attachments are intended only for the use of the
> recipient and may be confidential and/or legally privileged. Sensis Pty Ltd
> disclaims liability for any errors, omissions, viruses, loss and/or damage
> arising from using, opening or transmitting this email. If you are not the
> intended recipient you must not use, interfere with, disclose, copy or
> retain this email and you should notify the sender immediately by return
> email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000]

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message