Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » Reuse the already downloaded content from a remote p2 repository(Reuse the already downloaded content from a remote p2 repository)
Reuse the already downloaded content from a remote p2 repository [message #1746083] Fri, 21 October 2016 12:01
Ravikiran Kuppuraj is currently offline Ravikiran KuppurajFriend
Messages: 9
Registered: May 2016
Junior Member
Hi,

In my buckminster.rmap, I use readerType=url.catalog to resolve all my projects from local disk and readerType=p2 to pull any unresolved dependencies from a remote p2 repository.
Naturally this will download the required dependencies from internet. I do not have a mspec file, so all the materialization will happen under my workspace.

Now what should I do not to download from internet everytime, if it is already downloaded once? I understand that using the same workspace will not download from internet, if it is already available in workspace/.buckminster. But what happens is, if my source changes, then the next build is not picking my new source but just using the one that has been already materialized in my workspace.

To put in other words, my requirement is, my projects should be imported/resolve, materialized and built everytime but all the other dependencies which are downloaded from internet should be reused if already downloaded once.

What should I do to achieve this.? Please help.
Please find my buckminster.rmap file below:
<?xml version="1.0" encoding="UTF-8"?>
<rm:rmap xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0"
         xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">

  <rm:locator pattern="^com\.schrodinger\.knime\..+" searchPathRef="schrodinger"/>
  <rm:locator searchPathRef="default"/>

  <rm:searchPath name="schrodinger">
    <rm:provider componentTypes="eclipse.feature,osgi.bundle" readerType="url.catalog">
      <rm:uri format="${src.uri}/{0}">
        <bc:propertyRef key="buckminster.component"/>
      </rm:uri>
    </rm:provider>
  </rm:searchPath>

  <rm:searchPath name="default">
    <rm:provider componentTypes="eclipse.feature,osgi.bundle,jar,buckminster,unknown" readerType="p2">
      <rm:uri format="http://update.knime.org/analytics-platform/3.1"/>
    </rm:provider>
  </rm:searchPath>
</rm:rmap>


Thanks
Ravikiran
Previous Topic:news.eclipse.org is shutting down.
Next Topic:Reuse the already downloaded content from a remote p2 repository
Goto Forum:
  


Current Time: Thu Jun 21 16:32:44 GMT 2018

Powered by FUDForum. Page generated in 0.01402 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top