|Re: [tycho-dev] How to access cached bundles?|
<thinking out aloud>Maybe an opportunity to have tycho use bundlepools like oomph does and everything would be able to share same pooled cache ?
Hi all,I'm maintaining a Mojo which has for purpose to turn a .target into a p2 repository containing all IUs available in the given target: https://github.com/jbosstools/jbosstools-maven-plugins/blob/master/tycho-plugins/target-platform-utils/src/main/java/org/jboss/tools/tycho/targets/TargetToRepoMojo.java It's working correctly so far, but it takes hours to re-download everything. Instead, I'd like to find a way to re-use Tycho cache and to get artifacts from cache when available instead of re-downloading them everytime. So here is my question: what is a good way to make queries in Tycho cache and to copy artifacts from cache? I had a look at Tycho code but didn't succeed to figure that out by myself.Thanks in advance for your help.PS: If you think this mojo can be more widely used, feel free to add comments to https://bugs.eclipse.org/bugs/show_bug.cgi?id=389052 . I'd still be glad to move it to Tycho.-- Mickael Istria Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>My blog <http://mickaelistria.wordpress.com> - My Tweets <http://twitter.com/mickaelistria>_______________________________________________ tycho-dev mailing list tycho-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top