|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Proxying ivy repositoriesIs it possible to somehow put in a team proxy/cache so that the following happens when you do a retrieve for the first time a) looks in local cache b) looks in team cache c) looks on internet d) finds jar e) updates team cache f) updates local cache I'm trying to get away from having to do loads of ivy:installs into a team repository, just to mirror an internet based repository, which doesn't feel right. Target www.targetgroup.net Target is a trading name of Target Group Limited, registered in England and Wales No. 1208137 Registered office: Target House, Cowbridge Road East, Cardiff CF11 9AU ********************************************************************** DISCLAIMER. This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient you must not copy, distribute or take any action or reliance upon it. The content of this message may also contain personal views of an employee of this company and does not necessarily represent the view of the company. ********************************************************************** This message has been scanned by Norton Anti-Virus. It has also been scanned by MAILsweeper to enforce our e-mail policy. If you have any concerns or comments about the content of this message, please e-mail support@.... ********************************************************************** _____________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com |
|
|
Re: Proxying ivy repositoriesOn Wed, Jul 2, 2008 at 11:01 AM, <paul.newport@...> wrote:
> > > > > Is it possible to somehow put in a team proxy/cache so that the following > happens when you do a retrieve for the first time > > a) looks in local cache > b) looks in team cache > c) looks on internet > d) finds jar > e) updates team cache > f) updates local cache You can implement this with a custom RepositoryCacheManager implementation, but this is not documented, so you'll need to hack in Ivy's code. Another solution is to use Ivy cache for local cache, and a web proxy for team cache. Xavier -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ |
|
|
Re: Proxying ivy repositories--- Xavier Hanin <xavier.hanin@...> wrote: > On Wed, Jul 2, 2008 at 11:01 AM, > <paul.newport@...> wrote: > > > > > > > > > > > Is it possible to somehow put in a team > proxy/cache so that the following > > happens when you do a retrieve for the first time > > > > a) looks in local cache > > b) looks in team cache > > c) looks on internet > > d) finds jar > > e) updates team cache > > f) updates local cache > > > You can implement this with a custom > RepositoryCacheManager implementation, > but this is not documented, so you'll need to hack > in Ivy's code. Another > solution is to use Ivy cache for local cache, and a > web proxy for team > cache. > Xavier: Do you have any more information on that last idea? I am interested in something like this as well. Thanks, Matt > Xavier > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ > http://ant.apache.org/ivy/ > http://www.xoocode.org/ > |
|
|
Re: Proxying ivy repositoriesOn Thu, Jul 3, 2008 at 11:01 PM, Matt Benson <gudnabrsam@...> wrote:
> > --- Xavier Hanin <xavier.hanin@...> wrote: > > > On Wed, Jul 2, 2008 at 11:01 AM, > > <paul.newport@...> wrote: > > > > > > > > > > > > > > > > > Is it possible to somehow put in a team > > proxy/cache so that the following > > > happens when you do a retrieve for the first time > > > > > > a) looks in local cache > > > b) looks in team cache > > > c) looks on internet > > > d) finds jar > > > e) updates team cache > > > f) updates local cache > > > > > > You can implement this with a custom > > RepositoryCacheManager implementation, > > but this is not documented, so you'll need to hack > > in Ivy's code. Another > > solution is to use Ivy cache for local cache, and a > > web proxy for team > > cache. > > > > Xavier: Do you have any more information on that last > idea? I am interested in something like this as well. Ivy is not doing anything fancy with HTTP, so a simple web proxy with cache like you can setup with apache mod_proxy or squid should work pretty well, especially if you don't use changing revisions. There also might be another option with glen marchesani proxy, but I don't know if he has published/open sourced it since he talked about it last december: http://markmail.org/message/7l4hbbqnodfpacnb Xavier > > > Thanks, > Matt > > > Xavier > > -- > > Xavier Hanin - Independent Java Consultant > > http://xhab.blogspot.com/ > > http://ant.apache.org/ivy/ > > http://www.xoocode.org/ > > > > > > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ |
|
|
Re: Proxying ivy repositoriesSquid was a good idea. Unfortunately although it seems to cache urls and jars requested through a browser, if I configure Eclipse to go through Squid, I get TCP_MISS/503 374 in the Squid logs when Ivy tries to resolve a Jar from an internet based resolver. Any ideas anyone ? "Xavier Hanin" <xavier.hanin@gma il.com> To ivy-user@... 04/07/2008 07:37 cc Subject Please respond to Re: Proxying ivy repositories ivy-user@... he.org On Thu, Jul 3, 2008 at 11:01 PM, Matt Benson <gudnabrsam@...> wrote: > > --- Xavier Hanin <xavier.hanin@...> wrote: > > > On Wed, Jul 2, 2008 at 11:01 AM, > > <paul.newport@...> wrote: > > > > > > > > > > > > > > > > > Is it possible to somehow put in a team > > proxy/cache so that the following > > > happens when you do a retrieve for the first time > > > > > > a) looks in local cache > > > b) looks in team cache > > > c) looks on internet > > > d) finds jar > > > e) updates team cache > > > f) updates local cache > > > > > > You can implement this with a custom > > RepositoryCacheManager implementation, > > but this is not documented, so you'll need to hack > > in Ivy's code. Another > > solution is to use Ivy cache for local cache, and a > > web proxy for team > > cache. > > > > Xavier: Do you have any more information on that last > idea? I am interested in something like this as well. Ivy is not doing anything fancy with HTTP, so a simple web proxy with cache like you can setup with apache mod_proxy or squid should work pretty well, especially if you don't use changing revisions. There also might be another option with glen marchesani proxy, but I don't know if he has published/open sourced it since he talked about it last december: http://markmail.org/message/7l4hbbqnodfpacnb Xavier > > > Thanks, > Matt > > > Xavier > > -- > > Xavier Hanin - Independent Java Consultant > > http://xhab.blogspot.com/ > > http://ant.apache.org/ivy/ > > http://www.xoocode.org/ > > > > > > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ _____________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. Target www.targetgroup.net Target is a trading name of Target Group Limited, registered in England and Wales No. 1208137 Registered office: Target House, Cowbridge Road East, Cardiff CF11 9AU ********************************************************************** DISCLAIMER. This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient you must not copy, distribute or take any action or reliance upon it. The content of this message may also contain personal views of an employee of this company and does not necessarily represent the view of the company. ********************************************************************** This message has been scanned by Norton Anti-Virus. It has also been scanned by MAILsweeper to enforce our e-mail policy. If you have any concerns or comments about the content of this message, please e-mail support@.... ********************************************************************** _____________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com |
| Free Forum Powered by Nabble | Forum Help |