It's all about the answers!

Ask a question

Can a multiproject buildengine be defined


Karen Hess (6184) | asked Feb 21 '11, 4:30 p.m.
JAZZ DEVELOPER
Assuming a software component is represented by an RTC Project, a buildengine would have to be defined in every single software component/RTC Project.

Is there a way to define a buildengine for the complete repository

8 answers



permanent link
Karen Hess (6184) | answered Feb 21 '11, 4:33 p.m.
JAZZ DEVELOPER
Is there a recommended way to start a combined host/oo build? Our environment is a hybrid of both.

permanent link
Karen Hess (6184) | answered Feb 21 '11, 4:35 p.m.
JAZZ DEVELOPER
We currently generate a Clear Case dynamic view based upon a baseline of a build (1 day ago, some months ago, whatever).

How can we manage this with RTC?

permanent link
Karen Hess (6184) | answered Feb 21 '11, 4:37 p.m.
JAZZ DEVELOPER
How can we define load rules for a build? In a build definition we can select a file where the load rules are specified.

What should this file look like?

permanent link
Karen Hess (6184) | answered Feb 21 '11, 4:39 p.m.
JAZZ DEVELOPER
Can we define the syntax of a snapshot created for a build?

Currently we have <product<component>R<release>B<date>_<datesubid>, e.g. A25_SPCA_C020300_B20110208_02.

In RTC it is <projectname>_<date>_<id> and we do not see how to change this.

permanent link
Geoffrey Clemm (29.7k23035) | answered Feb 22 '11, 12:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note that you should not be representing a software component by an RTC
Project. You should be representing a software component by an RTC
component (and unless your software components are large, you'd probably
be storing multiple related software components in a single RTC component).

Cheers,
Geoff

On 2/21/2011 4:38 PM, khess wrote:
Assuming a software component is represented by an RTC Project, a
buildengine would have to be defined in every single software
component/RTC Project.

Is there a way to define a buildengine for the complete repository

permanent link
Geoffrey Clemm (29.7k23035) | answered Feb 26 '11, 1:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What is an "oo build"?

Cheers,
Geoff

On 2/21/2011 4:38 PM, khess wrote:
Is there a recommended way to start a combined host/oo build? Our
environment is a hybrid of both.

permanent link
Geoffrey Clemm (29.7k23035) | answered Feb 26 '11, 1:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In RTC, if you are using multiple components, you would use a "snapshot"
rather than a "baseline" to capture a configuration of your system. To
initialize a workspace with that snapshot, you can right click on that
snapshot in the RTC Eclipse GUI, and select the "New -> Repository
Workspace from Snapshot" operation.

Alternatively, if you want to update an existing workspace with that
snapshot, right click on that workspace in the Pending Changes view, and
select "Replace with -> Snapshot ..." and then select the desired
snapshot in the dialog box.

Cheers,
Geoff

On 2/21/2011 4:38 PM, khess wrote:
We currently generate a Clear Case dynamic view based upon a baseline
of a build (1 day ago, some months ago, whatever).

How can we manage this with RTC?

permanent link
Geoffrey Clemm (29.7k23035) | answered Feb 26 '11, 1:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The format of the load rules file for a build is described in the
"Component Load Rules" page in the RTC on-line help.

Here's the example from that page:

# Two directives are supported:
# versionableName=
# RootFolderName=

# In this example the component contains the following tree of folders
# /MyMain/
# /MyMain/products/
# /MyMain/products/command line client/
# /MyMain/products/command line client/project1/
# /MyMain/products/command line client/project1/src/
# /MyMain/products/command line client/project1/src/A.java
# /MyMain/products/command line client/project1/src/... a number of
other sub directories and files
# /MyMain/products/command line client/project2/
# /MyMain/products/command line client/project3/
# /MyMain/products/MetroNome/project4/
# /MyMain/products/MetroNome/project4/build.script
# /MyMain/products/MetroNome/project5/
# /MyMain/products/RTC/project6/
# plus other directories under MyMain

# Entries starting with versionablename=
# provides the fully qualified name in the repository of the item to be
loaded
# If the item is a folder, it and all its children are loaded.
# This line loads the folder /MyMain/products/command line
client/project1/ and all the
# files and subfolders it contains
versionableName=/MyMain/products/command line client/project1/
# This line loads the file /MyMain/products/MetroNome/project4/build.script
versionableName=/MyMain/products/MetroNome/project4/build.script

# Entries starting with rootfoldername=
# Provides the fully qualified name in the repository of the folder
whose children are to be loaded
# The folder identified is not loaded, all the children of it are loaded.
# This line loads all the files and subfolders that the /MyMain/products
folder contains
RootFolderName=/MyMain/products/


Cheers,
Geoff

On 2/21/2011 4:38 PM, khess wrote:
How can we define load rules for a build? In a build definition we can
select a file where the load rules are specified.

What should this file look like?

Your answer


Register or to post your answer.