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: 392
Registered: July 2015
Senior Member
Hi,

sorry for the crossposting (I also posted this question to the buckminster forum http://www.eclipse.org/forums/index.php?t=msg&th=202459& 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: http://dev.eclipse.org/mhonarc/lists/buckminster-dev/msg0071 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="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap=" https://svn.inf.mit.bme.hu/viatra/viatra_extra/R3/releng/tru nk/org.eclipse.viatra2.releng/viatra.rmap" properties=" https://svn.inf.mit.bme.hu/viatra/viatra_extra/R3/releng/tru nk/org.eclipse.viatra2.releng/buckminster.properties">
<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="target.ws" 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"/>
</cq:componentQuery>

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="eclipse.org"/>
<rm:locator pattern="^hu\.optxware\.emf2viatra\.core" searchPathRef="VIATRA_SVN"/>
<rm:locator pattern="^com\.ibm([\.\-].+)" searchPathRef="eclipse.org"/>
<rm:locator pattern="^org\.apache([\.\-].+)" searchPathRef="eclipse.org"/>
<rm:locator pattern="^org\.sat4j([\.\-].+)" searchPathRef="eclipse.org"/>
<rm:locator pattern="^org\.junit([\.\-].+)" searchPathRef="eclipse.org"/>
<rm:locator pattern="^org\.junit" searchPathRef="eclipse.org"/>
<rm:locator pattern="^org\.hamcrest([\.\-].+)" searchPathRef="eclipse.org"/>

where eclipse.org 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: Tue Mar 19 07:24:55 GMT 2024

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

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

Back to the top