Jump to: navigation, search

Tigerstripe Buckminster Integration Tutorial

Revision as of 17:06, 10 November 2008 by Jistrawn.cisco.com (Talk | contribs) (Overview)

< To: Tigerstripe_Tutorials


  • This tutorial will assume a working knowledge and installation of the Tigerstripe Workbench [1] and the Buckminster [2] Eclipse plug-ins.


This tutorial will use the sample presented at the Eclipse Summit 2008. For information about this project, including content, hierarchy, and additional dependencies (including Tigerstripe generators) please see the At Eclipse Summit 08, Contents entry.

Hierarchy Definition

       |-- CoreModel
       |       |-- ReferencedModel
       |-- VersionedModel


This section will walk through the installation of the Tigerstripe Buckminster Integration plug-in.


This section will describe how to materialize your Tigerstripe workspace and provide a description of the required Buckminster configuration files.

Running the Example

  1. Open Eclipse. Create a new workspace for this tutorial.
  2. Navigate to the File -> Open a Component Query... dialog and paste the CQUERY's URL (below) into the dialog's "URL for query" text box.
  3. Click "OK". This will open the Buckminster CQUERY Editor.
  4. Click "Resolve and Materialize" in the CQUERY Editor. This will materialize the project's components from this example into your workspace.

If you are using the Tigerstripe perspective in Eclipse you will see the CoreModel, ReferencedModel, and VersionedModel projects. If you are in the Java perspective (or other) you will see the model projects noted above along with the ProjectDefinition project.


The RMAP used in this tutorial is presented below. This is a standard RMAP file, with the exception of the "tigerstripe" component type. This component type is made available when the optional Tigerstripe Buckminster plug-in is installed.

For more information on RMAP files see the Resource Maps section of the Buckminster Introduction.

<?xml version="1.0" encoding="UTF-8"?>
    <searchPath name="default">
      <provider readerType="cvs" componentTypes="tigerstripe,buckminster" source="true">
        <uri format=":pserver:anonymous@dev.eclipse.org:/cvsroot/technology,org.eclipse.tigerstripe/samples/Buckminster/{0}">
	  <bc:propertyRef key="buckminster.component" />
    <locator searchPathRef="default" pattern=".*" />


The CSPEC, found in the ProjectDefinition meta project, is show below. This is a standard CSPEC file with the exception of the "tigerstripe" component type definitions found in the dependencies section. This component type is made available when the optional Tigerstripe Buckminster plug-in is installed. Note the version specification.

For more information on CSPECs see the Component Specification section of the Buckminster Introduction.

<?xml version="1.0" encoding="UTF-8"?>
<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0" 
  version="1.0.0" versionType="OSGi">
    <cs:dependency name="CoreModel" componentType="tigerstripe"/>
    <cs:dependency name="VersionedModel" componentType="tigerstripe" versionDesignator="[3.0.0,3.0.0]" versionType="OSGi"/>