RE: [Subclipse-dev] Building Subclipse with Hudson/Buckminster
From: Thomas Hallgren <thomas_at_tada.se>
Date: Thu, 27 May 2010 23:33:49 -0700 (PDT)
I would recommend a simpler approach where you let Buckminster resolve and populate both your target platform and your workspace. Keeping them apart physically is a good thing of course, but you can do that and still have the benefits of one single resolution.
The approach outlined here assumes that you are using Buckminster 3.6 and a 3.6 RC2 IDE. The IDE is of course optional but it's great for the initial steps and to get things up and running smoothly.
1. Create feature that describes your intended update site. It's just a normal Eclipse feature. Normally, this feature is not included in the resulting site. It just acts as a description.
2. Create a CQUERY/RMAP combination that works. In the RMAP, try using "svn" providers for the source (with source="true") and p2 providers for all bundles that you wish to get as binaries. The CQUERY must point to the feature created in #1.
Do not use our dogfood RMAP. It's not maintained.
3. Use your IDE at first. Create a target platform with one single "directory" container and set that target platform as the active one.
4. Run the CQUERY "Resolve and Materialize". The first time you do this, you are likely to run into problems with components that cannot be resolved (like the one you describe). Once it resolves correctly, you will see that Buckminster populates both your target platform and your workspace.
5. Verify that everything builds in your IDE. Rigth click on the feature created in #1 and select "Buckminster" -> "Perform" -> "site.p2". This should build the update site for you.
Once the above works, the Buckminster part of your build is complete. You should now be able to repeat the same thing headlessly.
1. Import the CQUERY using buckminster import <url>
The rest is all about Hudson.
Please note that if Hudson is used when populating your workspace, you will miss two things:
If you want a simple example of a complete build of a site, you can take a look at the last one that I did for xtext. It's in the form of two projects. One 'releng' that is a pure release engineering project. It contains the cspec, the rmap, and needed properties:
and then there's an example of a feature that describes a site.
Don't hesitate to ask if you have more questions. I'm more then happy to help with this. You can also try our mailing lists and newsgroups. You'll get quick answers there, both regarding Buckminster itself and the Buckminster Hudson plugin.
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
This is an archived mail posted to the Subclipse Dev mailing list.