Skip to main content


developerWorks  >  Rational  >

IBM Rational Build Forge CMVC Adaptor example

developerWorks

Luis Alejandro García , Software Engineer - Systems and Technology Group, IBM

13 May 2008

Get the download

Example adaptor illustrating how to gather CMVC data into IBM® Rational® Build Forge® project runs.

Overview

This kit contains a number of useful example Adaptors that help interact and create useful Bill of Materials (BOM) data in Build Forge.

Prerequisites

These templates assume Build Forge 7.0.1 or later is installed with an Adaptor Toolkit.

Using the examples

These examples should work fine as add-on templates in the Build Forge server. Instructions for adding templates to the system are included in the Build Forge documentation. Instructions can be found by logging into your Build Forge Console and navigating to Help > Integrating with External Applications Using Adaptors > Advanced Adaptors Tasks > Creating a New Adaptor Template. These examples all have environment settings that are expected in order to control them. The values for each are listed in the <template> section of each example. Setting the values required assumes a working knowledge of both Build Forge and CMVC.

Included CMVC Adaptor templates

NameDescriptionType
CMVCCheckTracks.xmlQueries a CMVC release for new tracks in integrate. Writes the number of tracks in the integrate state to the BOM. Used before running a project that uses the CMVCLevel adaptor to make sure that there are tracks to integrate.Source
CMVCCheckCurrent.xmlQueries a CMVC release for current file changes that even if the associated tracks have not been moved into the integrate state. Writes a description of the File changed to the BOM. Useful when doing continuous integration builds. Used before running a project that uses the CMVCRelease adaptor to make sure that there are new file change to build.Source
CMVCLevel.xmlCreates a BOM section containing defect, abstract, release, owner, and dates updated, of the tracks that are ready to integrate. Runs a track check to resolve track dependencies and ensure to only integrate tracks whose dependencies have been integrated. Extracts the last commited level and the new level to build to create the latest full source tree. Creates a new level in CMVC and adds the tracks that don’t have unresolved dependencies. Bulds, commits and completes the level. Source
CMVCRelease.xmlExtracts the full current source tree of the specified release.Source



Download

DescriptionNameSizeDownload method
Example adaptor templatesCMVCAdaptors.zip12KBHTTP
Information about download methods


Resources

Learn

Get products and technologies

Discuss



Back to top



Document options

Document options requiring JavaScript are not displayed

Sample code


My developerWorks needs you!

Connect to your technical community