Community
Participate
Working Groups
The RemoteBundleDiscoveryStrategy should cache the jars being downloaded. There is logic in p2 (not sure it is reusable as such) that can be used.
Created attachment 186662 [details] Potential patch The attached patch contains a port of the CacheManager used to cache repositories. One potential problem, if the catalogs change their URLs overtime we could have a buildup of files in the cache. (CacheManager for repositories listens to the event bus for remove events to remove cached data.)
Created attachment 187013 [details] Updated fix Made a few changes to ensure streams were closed.
I have released a slightly corrected version of that patch.