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 #1746162] Mon, 24 October 2016 10:28
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.

These are the commands I execute:
import "${src.dir}${file.separator}com.schrodinger.knime.feature.site${file.separator}buckminster.cquery"
build -c
perform -P "${src.dir}${file.separator}buckminster.properties" com.schrodinger.knime.feature.site#site.p2


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:Reuse the already downloaded content from a remote p2 repository
Next Topic:Reuse the already downloaded content from a remote p2 repository
Goto Forum:
  


Current Time: Fri Mar 29 08:23:02 GMT 2024

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

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

Back to the top