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 #1746163] Mon, 24 October 2016 10:32
Ravikiran Kuppuraj is currently offline Ravikiran KuppurajFriend
Messages: 9
Registered: May 2016
Junior Member
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.
Below are the commands that I execute.
import "${src.dir}${file.separator}${file.separator}buckminster.cquery"
build -c
perform -P "${src.dir}${file.separator}"

Please find my buckminster.rmap file below:
<?xml version="1.0" encoding="UTF-8"?>
<rm:rmap xmlns:rm=""
  <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:searchPath name="default">
    <rm:provider componentTypes="eclipse.feature,osgi.bundle,jar,buckminster,unknown" readerType="p2">
      <rm:uri format=""/>

Previous Topic:Reuse the already downloaded content from a remote p2 repository
Goto Forum:

Current Time: Sat Mar 24 23:38:03 GMT 2018

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

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