You can copy system properties from an existing project
to a new project. The project settings that are copied are all the
properties that are set in except for
Lab Resource Properties and Test Plan's Environment Types. You
use a command line script for this task.
About this task
In this task, the
source project is the existing project
that contains the system properties to copy to a new project. The
target project
is the new, or existing, project to which the system properties are
copied. Before you can copy project settings, ensure that the following
conditions are met.
- You must have administrative permissions and access to the IBM® Rational® Quality Manager server.
- You must have access to a command prompt.
- Ensure that the target project exists. Create a new project if
necessary.
- The target project can be on the same server as the source project,
or on a different server. The procedure for copying project settings
is different depending on whether the target project is on the same
server or a different server than the source project.
- You must know what the source and target project aliases are.
The project alias is based on the project name. If there are spaces
in the project name, in the project alias, the spaces are replaced
by + (plus signs). Project aliases are case-sensitive. The project
alias is always the same for a project, even if the project name changes.
For example, if the original project name is Quality Manager, the
project alias is Quality+Manager. If you rename the project to RQM,
the project alias will still be Quality+Manager even though the project
name is now RQM.
Procedure
- On the server that contains the source project, open the
command line prompt.
- Change the directory to the ..\tools\import folder
in the install location of Rational Quality Manager,
for example, C:\Program Files\IBM\RQM201\server\tools\import.
- Type copySettings and press Enter.
A list of options and their descriptions displays.
- Do either of the following, depending on whether the target
project is located on the same server as the source project, or on
a different server.
- If the new project area is on the same server as the
source project, type copySettings /SS <http
address of source project>/ /SU <login username>
/SP <login password> /SA <source
project alias> /DA <target project alias>,
and press Enter.
- If the new project area is on a different server from
the source project, you must add four attributes to the command. Type copySettings
/SS <http address of source project>/ /SU <login
username> /SP <login password> /SA <source
project alias> /DA <target project alias>
/DS <http address of target project>/ /DU <login
username of target project> /DP <login password
of target project> /DA <target project alias>,
and press Enter.
Results
The project settings from the source project are copied
to the new project. The new project is ready for use.