The Process Practice

Process engineering with the Eclipse Process Framework and Rational Method Composer

Entries Comments



Publish your RMC process to Team Concert

10 October, 2008 (15:28) | Rational Method Composer | By: Peter

We just released an incubator (an experimental unsupported solution for feedback that you can use at your own risk) for Rational Method Composer and Rational Team Concert users on jazz.net. This incubator provides experimental code that allows generating a Jazz process template based on a process modeled and documented with Rational Method Composer, which is then uploaded along with the published process documentation to the Jazz Team Server. There the process template can be used for creating a project and the published content will be directly available for team members using Rational Team Concert.

Read this tutorial to learn all about it, including where to download and how to set it up: “How to document your team’s processes for IBM Rational Team Concert using IBM Rational Method Composer“.

[Update 10/22: New URL for the tutorial.]

How to use RMC published content in RSx products

7 August, 2008 (10:07) | Rational Method Composer | By: Peter

If you are using any of the products listed below you can use the packaged Process Browser to browse your own RMC published content with in these environments. Even better the Process Advisor view that is part of these products can react to specific UI events and propose context-specific content recommendations. For example, if you select a Use Case in a Use-Case Diagram in RSA, Advisor will display work products, tasks, guidelines, tool mentors, checklist etc. relevant to use cases. Find here two articles that provide more background how to use, customize, and even extend this capability:

Here the list of products that contain this feature:

Software development

  • IBM® Rational® Software Architect
  • IBM® Rational® Application Developer
  • IBM® Rational® Software Modeler
  • IBM® Rational® Systems Developer

Software testing

  • IBM® Rational® Performance Tester
  • IBM® Rational® Functional Tester
  • IBM® Rational® Manual Tester
  • IBM® Rational® Funtional Tester Extension

RMC Video Tutorial

28 March, 2008 (16:30) | Rational Method Composer | By: Peter

There is a new three part training video available on developerWorks. Part 1 of this demo steps you through downloading and installing a trial copy of Rational® Method Composer, and covers some of the basics of method composition. Part 2 shows how to create the new method content needed to create a method configuration for a Rational Unified Process-based software delivery process. Part 3 defines the delivery process, then shows how to publish the completed configuration to a Web site.

See it here: “Get started with Rational Method Composer”, Part 1, Part 2, Part 3.

How-to create your own publication skin in RMC 7.2

7 March, 2008 (19:16) | Rational Method Composer | By: Peter

“Skins” is a new capability in RMC 7.2 that allows you to modify the look-and-feel of the published Web site to your requirements. It has been added to the 7.2 release as a response to RMC user’s requests for being able to make specific changes to the presentation of processes in html. Some user wanted to change the order in which information is presented on the various pages, others wanted to omit some of the presented information all together, many wanted to change the styles such as fonts and colors to match their company’s guidelines, or others even wanted to use a different terminology in places (e.g. call an ‘activity’ a ‘procedure’ instead). All of these changes can be made to the published site using Skins.

The following tutorial called “Customizing Publication Skins in IBM Rational Method Composer 7.2” will teach you how the most common scenarios for creating your own custom skins that reflect your company’s Web style guide or just your own personal taste.

Tutorials for using Birt with RMC 7.2 now available

13 February, 2008 (15:02) | Rational Method Composer | By: Peter

Have you played with the integration of the Eclipse Birt report designer into Rational Method Composer 7.2, yet? If not then check out this new two part tutorial on Developer Works that will get you started:

  1. Using BIRT reports with IBM Rational Method Composer: Getting started.
  2. Using BIRT reports with IBM Rational Method Composer: An intermediate-level example of creating BIRT reports

This new integration allows you to present content managed in RMC in a completely user-defined way. The example developed in the tutorials show you how to create reference tables for your elements. Other applications could be to create index cards for your key tasks and work products or to delineate and publish your process as a PDF document. RMC ships with a lot of predefined report templates that you can use as a starting point. The first tutorial shows you how to find and use them. The second tutorial focuses how to do your own report from scratch.

Documenting operational business processes with RMC

6 February, 2008 (11:50) | Rational Method Composer | By: Peter

Are you modeling formal business processes using Websphere Business Modeler? Do you need to provide a comprehensive human readable documentation of these processes, for example want to publish an operational manual that document your processes with natural language text?

If yes then check out this new white paper called “Achieving consistency between business process models and operational guides - How Rational and WebSphere software enable enterprise documentation in SOA environment” written by my colleagues Greg Rader and Chinh Vo that describes how to use the new integration between Rational Method Composer and Websphere Business Modeler to do exactly that.

Shell-sharing RMC 7.2 with Jazz Team Concert Beta 2

5 February, 2008 (17:25) | Rational Method Composer | By: Peter

Update 10/10/2008: For Rational Method Composer 7.2ifix3 and Team Concert 1.0 see this post for an update.

Jazz Team Concert Beta 2a is out. Jazz is an IBM Rational project to build a scalable, extensible team collaboration platform for integrating work across the phases of the development lifecycle. Jazz will help teams build software more effectively while making the software development activity more productive and enjoyable.

Modeling and documenting developing methods and processes is a collaborative development activity as well and therefore the Jazz tools can provide a great added value to RMC users.

RMC with Jazz Click here for screen shot of how our own RMC commercial and open source content team uses Jazz for their daily work. I surely opened and squeezed into this shot as many views and editors that I could, but these are just some of the basic views that our team members use. You see the RMC library view and process editor inside the Jazz Team concert Eclipse shell as well as the additional Jazz views. Below the library view you see the list of work items that have been retrieved based on a user-specific query showing all the tasks scheduled for a content developer. Below that you see Team Central that provides you with information about your team’s status; e.g. workload of your colleagues in terms of number of open work items. On the right you can have a glimpse at the Jazz planning tool which allows our team to plan and track every iteration. It provides several views that can not all be shown here, but you see the basic plan view which shows all work items assigned to this particular iteration grouped by assignee. The Charts tab in that same editor then always plots the current burndown chart for you. The tool also allows free-form text and hence you see tabs labeled Overview and Iteration Assessment that allow the team to capture the goals of the iteration as well as to summarize the retrospective assessment results. These plans and associated work item queries provide great transparency and always up-to-date view on the status of work and what is to be expected for the iteration milestone. The integration of Sametime Chat, Audio Conferencing and InstaShare Screen Sharing into the Eclipse shell was well (e.g. you can just right-click on a person’s picture in the plan or name in a work item query result to start a chat or call them) provides an additional synchronous means of collaboration, which is key to our team that is distributed all over the US. Finally, there is the view at the lower half of the screen that shows the RMC generated process documentation providing guidance and templates for doing our work. In this case it is our internal Method Development Method that we are using.

One key Team Concert component that we are currently not using is the SCM component. Here we rely on the excellent ClearCase for the commercial content (and CVS on the open source side), because our team has tons of experience with CC and it advanced features as well as it provides a pessimistic reserved check-out that Jazz does not have. Jazz’s SCM currently is geared towards supporting code-centric files that can easily be compared and merged. RMC however manages interrelated object models for which we do not have a good compare-merge UI in place to date.

If you have RMC and want to set-up this shell-sharing integration between Rational Team Concert Beta 2 and Rational Method Composer 7.2 yourself do the following:

  • Install RMC 7.2 on your machine (referred to as <instal_dir_RMC> below) and load your license activation kit.
  • Go to jazz.net, register for an account, and download the Beta 2a server and client.
    (See the install guides on the site. I would also recommend that you do the tutorials in the Getting Started section to familiarize yourself with Jazz first before you continue.)
  • Download the Team Concert Beta 2a zip file distribution (no installer)
  • Unzip this file in any directory, referred to as <install_dir_JAZZ> below
  • In the “<install_dir_JAZZ>\jazz\client\eclipse” directory create a directory called “rmc” with a sub-directory “eclipse”
  • Copy and paste the “features” and “plugins” directories from the “<install_dir_RMC>\rmc\ ” to “<install_dir_JAZZ>\jazz\client\eclipse\epfc\eclipse\”
  • Go to “<install_dir_JAZZ>\jazz\client\eclipse\links” and create a file called “epfc.lnk” that contains this one line “path=epfc”
  • Start the “<install_dir_JAZZ>\jazz\client\TeamConcert.exe” and provide a path for a workspace

Once, the client is up you will be able to use the RMC perspectives such as Authoring and Browsing as well as the RTC perspective such as Work Items. You can easily add Jazz views to the RMC perspective using the Window -> Show View -> Other… menu.

How-to use the RMC 7.2 Workspace feature

22 January, 2008 (20:11) | Rational Method Composer | By: Peter

Happy new year everyone! Our team is hard at work creating additional collateral and guidance for some of the new RMC 7.2 features. First up are the missing online pages for the new Workspaces capability. This feature is intended for advanced users that want to scale up their method development effort with their team(s). It allows you to distribute a method library to many filesystem directories throughout your network infrastructure, which so far had to be maintained in exactly one directory. In this workspace mode a method library is able to reference method plug-ins and method configurations that even exist in other libraries without importing or exporting. This allows you to easily share method plug-ins across teams, manage your plug-in in multiple ClearCase VOBs, or even mix and match plug-ins maintained in different source control system.

Download some overview slides here: Overview to RMC Workspaces. The first slide shows you a typical customer situation in which workspaces make a big difference. You see that several teams manage their own method libraries, but that some method plug-ins are used by more than one team. What normally happens is that one team owns and maintains the content of a plug-in and that many other teams reuse these plug-ins in their library. Before RMC 7.2 is was required that users export these plug-ins, zip them up, send them to their partners, those would import them into their local library. Now, all you do is maintain all your plug-ins in a source control system and the other teams can pick and choose plug-ins from that server (instead of loading an entire library as it was required by 7.1.x). The way this has been realized is by utilizing the Eclipse workspace capability and the option to now make every method plug-in an Eclipse project; instead of managing the whole method library as one Eclipse project in 7.1.x. The old way is still supported by RMC 7.2 and in fact is the default usage model, hence nothing will change if you are not interested in using the new feature. Everything can stay the same. However, if the attached help pages show you how you can convert your existing library into such a new workspace library and use that.

An example for using the feature you see on Slide 2. It shows a Library view of RMC in Workspace mode that uses method plug-ins that are physically stored in different locations: the my.test one is stored in my local workspace directory. Here I can experiment and author locally without the need to share the files with other by checking them in. The second and third plug-ins with the yellow harddisk symbol overlay icons indicate that these method plug-ins are managed in CVS. These are actually coming directly from the EPF Server on eclipse.org. The fourth one with the blue frame is managed on a ClearCase here in my office and stored in my local ClearCase view directory. The same is true for the configurations: the first one is in CVS the second in ClearCase.

To learn how to use this feature download the online help pages in PDF format here: How to use the RMC 7.2 Workspace feature. We will add them to the tool’s online help with the next iFix.

Other material that you should see surfacing on developerWorks soon are tutorials and overview papers on how to use BIRT Reporting with RMC, Skins, and the Tailoring Perspective. Stay tuned.

How-to migrate to RMC 7.2 with just a CCRC client

11 October, 2007 (17:41) | Eclipse Process Framework, Rational Method Composer | By: Peter

RMC 7.2 (and EPF Composer 1.2) introduce some changes to the file format. Therefore, when you try opening your existing method library in 7.2 for the first time RMC will prompt you to migrate the library into this new format. When doing this RMC needs to update all XMI files with new schema information. Hence, if you are managing your library with Rational ClearCase you need to check-out all these files beforehand to make them writable for RMC. Unfortunately, if you use the CCRC (Rational ClearCase Remote Client) integration, this tool does not support to check-out files from multiple directories based on a name pattern. It’s Search dialog only searches for check-out, private, or hijacked files. It’s browser only supports displaying one directory at a time and selecting all these files for check-out. An RMC method library however consists of several directories and all XMI files in all of these directories need to be checked-out. So, what to do?

In the release and install notes to RMC 7.2 we consequently recommend to work with a ClearCase administrator that would use other tools such as the ClearCase cleartool or the Windows shell integration to search for all *.xmi files and perform the check-out. However, if your administrator is busy or nor available here a small procedure for using Eclipse Search and CCRC to get the files checked-out for migration.

  1. Before migrating, start your old version of RMC such as RMC 7.1.1 and open your library.
    (You could also use any other Eclipse shell that you have on your machine that has CCRC installed as well as RMC 7.2. To do this you have to follow the Steps a) to f) described below before moving on to Step 2.)
  2. In the menu select Search -> File…
  3. In “file name patterns” field type: *.xmi and click Search
  4. The Search results view will appear and show the files. If the results are presented with folders use the small triangle button menu in the top right-hand corner of the Search results view to switch to “Show as List”
  5. Select one entry and press CTRL-A to select them all (or use the Shift/CTRL keys to select a range of files)
  6. Right-click and select Team -> Check Out

Once all the files are checked-out you can go and start RMC 7.2 as well as load the library for migration. Then you can use the CCRC client’s Search for checked-out files to check them in all at once.

Loading the library into Eclipse or RMC 7.2 (without migrating it):

  1. Select in the menu Window -> Show View… -> Other and then select General -> Navigator in the dialog
  2. If there is any other folder in the Navigator view other than Estimation such as another library then right-click these folders and select Close Project from the context menu. Finally, do the same with Estimation: right-click, Close Project
  3. Right-click in the Navigator view and select Import… and then in the dialog General -> Existing Projects into Workspace
  4. Click Next and select the Browse button
  5. Select the directory of your pre-migration library in your CCRC view on your hard disk.
  6. Important: Make sure that the “Copy into Workspace” check box is not selected. Click Finish. Continue with Step 2 above.

Deploying RMC 7.2 and EPFC generated WAR files

12 September, 2007 (23:14) | Eclipse Process Framework, Rational Method Composer | By: Peter

The new IBM Rational Method Composer 7.2 and EPF Composer 1.2 add the capability to publish to a .war file in addition to publishing to local file system directories. Such .war files can be deployed to a JEE server and contain a Servlet that implements the Web Search function instead of the Java Applet that is used when publishing to a directory. Using the Servlet has a significant performance advantage over the Applet when deploying Composer sites to a web server. You can deploy to almost any JEE server on the market that realizes the Servlet 2.3 (or higher) specification and runs with a 1.4 or higher. My recommendation is to use the IBM Websphere server, but you could also use a free server such as Apache Tomcat.

I was asked by some Composer users that never set-up a JEE server for some simple instructions on how to test this feature. The easiest way to do this is to download and set-up the open source Apache Tomcat server and use its Management console to install the .war file.

Step 0: Publish the .war file from RMC or EPFC
To publish a .war file from Rational Method Composer 7.2 or EPF Composer 1.2 follow the instructions in the online help for publishing a configuration. On the last (fifth) page of the publication wizard you will be asked if you either want to publish a ‘Static Web site’ or a ‘Java EE Web application packaged in a WAR file’. Select the latter and tick the ‘Include search capability’ check box. Then provide a ‘Web application name’ such a ‘my-rup’ or ‘openup-company-abc’. This name will be used later in the address to your site, i.e. will be part of the URL such as ‘http://server.com/my-rup’. Also make sure you specified a valid directory at the top of the page. This is were the .war file will be placed by Composer after the publication is complete.

Step 1: Download and install a JRE and the Server
First you have to make sure that you have a Java runtime environment set-up. We currently recommend using version 5. Hence, if you do not already have Java installed on your machine download this JRE from IBM (only runs on IBM systems) or this one from Sun.

Go to the Apache Tomcat homepage (http://tomcat.apache.org/) and download the core package for your operation system (e.g. this one for Windows). Unzip the archive wherever you want your server to be located on your machine. This directory is referred to as <tomcat> below.

Step 2: Set-up and start the server
Before you can start the server you need to do some basic set-up. It would be safest to read and follow the instruction in the ‘RUNNING.txt’ file in the Tomcat top-level directory <tomcat>\. The key thing described in here is that you need to tell Tomcat were it can find the Java runtime environment by defining an environment variable named $JAVA_HOME. There are several ways of doing that. (1) You could create a .bat file that contains the line ‘SET JAVA_HOME=<path>’ (replace <path> with the directory where you installed the JRE, e.g. ‘C:\Program Files\Java\jre1.5.0_12′) that you run from a CMD shell (Start->Run…->cmd) just before you run the server. (2) You could also define this variable globally on your Windows computer by right-clicking ‘My Computer’->Properties->Advanced->Environment Variables. (3) Another possibility is to directly add this line at the beginning of the file <tomcat>\bin\catalina.bat using Notepad.

Second thing you should set-up is an admin user so that you can use the management functions of Tomcat. To do that open the <tomcat>\conf\tomcat-users.xml file in a text editor such as Notepad. Make the following changes:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<user username="admin" password="admin" roles="manager"/>
</tomcat-users>

You can select any username and password you want, but make sure that the user has the role ‘manager’.

Now you are ready to start the server. Depending on how you set-up your $JAVA_HOME variable either double-click the ’startup.bat’ file in <tomcat>\bin\ (if you followed method (2) and (3)) or use a CMD shell to start it (if you followed method (1)). A new shell window will open and display various startup messages. Once, you read the message ‘INFO: Server startup in 2753 ms’ (with a similar time) you are ready to go.

Step 3: Install the the .war file
(I demonstrate the following steps in the ‘New and noteworthy in EPF Composer 1.2‘ video as well.)

Now start a Web browser and type the URL ‘http://localhost:8080′. This one should take your to the Tomcat start page. On the left click on the link labeled ‘Tomcat Manager’ in the Administration section. You will be prompted to provide the user name and password that you specified in the tomcat-user.xml file.

Once you are on the ‘Tomcat Web Application Manager’ scroll down to the ‘WAR file to deploy’ section and use the browse button to navigate to the .war that you created in Step 0. You find it in the directory that you specified on the last page of the publication wizard. Click on the Deploy button and wait for the operation to finish.

Step 4: Test your site and Search
Now you see you application listed in the Applications section above. The application name is the one that you specified in Composer’s publication wizard. Click on the name and it will take you to your site.

On your site try using the ‘Search’ and see if it works correctly. An EPF Composer published site will open a new window with the search results. RMC generated sites display the results in a nice looking panel on the right hand side of the same browser page.

I hope that these instructions worked for you. Check out the Tomcat documentation for more advanced set-up instructions. For example, you can run the server as a service that starts automatically when your systems starts as well.