Skip to main content
Jump to: navigation, search

Tigerstripe Buckminster Integration Tutorial

Revision as of 16:34, 22 October 2008 by (Talk | contribs) (CSPEC)

< To: Tigerstripe_Tutorials


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


The following is an overview of the Tigerstripe project that will be used in this tutorial. This project is composed of several components that will be materialized into an existing Eclipse workspace.

  • ProjectDefinition - This is the "meta" project for this example. The dependencies defined in the CSPEC determine which components will make up the underlying model project. Note that in Phase II this meta project will no longer be required as version information can be gathered from a Tigerstripe component's project definition.
  • CoreModel - This is the base Tigerstripe model project for this tutorial. This model project will internally reference the ReferencedModel and the VersionedModel project.
  • ReferencedModel - This is a Tigerstripe model project referenced by the CoreModel project described above. The presence of this model is required in an Eclipse workspace for the CoreModel project to build.
  • VersionedModel - This is a Tigerstripe model project referenced by the CoreModel project as described in the ReferencedModel entry above. Because we wish to specify a version, this component will be included via a CSPEC definition in the CoreModel project. This is currently the only mechanism for defining a version based inclusion for a Tigerstripe project. Phase II will allow specific versions to be defined in the Tigerstripe model project.

Hierarchy Definition

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


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 into the dialogs "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=",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.

<?xml version="1.0" encoding="UTF-8"?>
<cs:cspec xmlns:cs="" 
  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"/>

Back to the top