ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <Carlton.Br...@compucredit.com>
Subject Bulk repository copy question
Date Wed, 13 Feb 2008 17:26:28 GMT
In regards to copying modules from one repository to another, the
documentation shows examples of copying a single module from one
resolver to another, explicitly declaring the organization, module, and
revision.

 

How can I do an implicit bulk copy of all dependencies specified in a
particular ivy file from one repository to another?

 

I was hoping for a command syntax like:

<ivy:install organization="*" module="*" revision="*" from="sourcerep"
to="destrep" ivyFile="ivy.xml" transitive="true"/> 

 

Obviously this wildcard syntax doesn't work, but hopefully it
illustrates what I'd like to do.   This would transitively copy every
dependency described in ivy.xml from sourcerep to destrep, transitively.
Maybe I am missing the user of a matcher or some regular expression
syntax?

 

The problem I'm trying to solve is to create a persistent local artifact
repository mirror (like a disk cache) to avoid repeated artifact
retrievals across the network.   I prefer a local fs repository instead
of ivy's internal cache for this purpose , because it seems the ivy
cache needs cleaning from time to time.  And we are talking about
hundreds of megabytes of fairly static libraries, so it makes no sense
to dynamically retrieve them across the network each time.

 

Does anyone have any suggestions?

 

Thanks,

Carlton




-----------------------------------------
====================================================
This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.
====================================================
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message