Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » SVN update during materialization
SVN update during materialization [message #647097] Tue, 04 January 2011 15:37
Zoltan Ujhelyi is currently offline Zoltan UjhelyiFriend
Messages: 380
Registered: July 2015
Senior Member

sorry for the crossposting (I also posted this question to the buckminster forum amp;start=0&S=557d864623a397f72cd009e8ddddc350).
First of all, thanks for the Buckminster tool, it is really useful for build automation.

I try to use Buckminster for continous integration together with Hudson, and selected Buckminster to download the required projects for the repository (in truth, we have a somewhat messy set of repositories, but the rmap allowed us to handle this with a simple set of rules - on the other hand manually specifying where to download what would be hard, and simply updating everything downloads a lot of code, and the rmap would be still hard to write...).

However, if the code in the repository changes, Buckminster does not update its workspace, but uses the previously checked-out projects. I found this old thread that suggest providing Advisor nodes in the cquery to prevent resolving from the workspace, and that would issue an update: 2.html Unluckily, this approach does not seem working for me.

My cquery looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="" resourceMap=" nk/org.eclipse.viatra2.releng/viatra.rmap" properties=" nk/org.eclipse.viatra2.releng/">
<cq:rootRequest name="org.eclipse.viatra2.releng" componentType="eclipse.feature"/>
<cq:property key="target.arch" value="*"/>
<cq:property key="target.os" value="*"/>
<cq:property key="" value="*"/>
<cq:advisorNode namePattern="^hu\.optxware\.emf2viatra\.core" useMaterialization="false" useWorkspace="false"/>
<cq:advisorNode namePattern="^hu\.bme\.mit([\.\-].+)?" useMaterialization="false" useWorkspace="false"/>
<cq:advisorNode namePattern="^hu\.optxware\.emf2viatra\.core" useMaterialization="false" useWorkspace="false"/>

The referenced rmap uses the following locators:

<rm:locator pattern="^org\.eclipse\.viatra2([\.\-].+)?" searchPathRef="VIATRA_SVN" failOnError="false"/>
<rm:locator pattern="^hu\.bme\.mit([\.\-].+)?" searchPathRef="VIATRA_SVN"/>
<rm:locator pattern="^org\.eclipse\..*" searchPathRef=""/>
<rm:locator pattern="^hu\.optxware\.emf2viatra\.core" searchPathRef="VIATRA_SVN"/>
<rm:locator pattern="^com\.ibm([\.\-].+)" searchPathRef=""/>
<rm:locator pattern="^org\.apache([\.\-].+)" searchPathRef=""/>
<rm:locator pattern="^org\.sat4j([\.\-].+)" searchPathRef=""/>
<rm:locator pattern="^org\.junit([\.\-].+)" searchPathRef=""/>
<rm:locator pattern="^org\.junit" searchPathRef=""/>
<rm:locator pattern="^org\.hamcrest([\.\-].+)" searchPathRef=""/>

where points to the Helios update site, while VIATRA_SVN marks a set of repository URLs to check for the various projects. Name patterns are the same in both the locators and the cquery advisor nodes, and to projects get downloaded once.

Could you please help me to give a hint what have I done wrong, how to provide this functionality? I'm using the latest stable build of Buckminster (3.6.1) both in the IDE and in headless mode in the server.

Thank you in advance,
Zoltán Ujhelyi
Previous Topic:[buckminster-dev] Project meta data is out of date for tools.buckminster
Next Topic:Patch suggested for materializing binaries via p2
Goto Forum:

Current Time: Mon Oct 25 08:48:07 GMT 2021

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

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

Back to the top