You can convert a directory to a subproject.
Procedure
- Start a session from the command prompt.
See Starting a CLI session for steps.
After the session starts, the Rational Synergy address (CCM_ADDR) is printed
in your command window (Windows)
or in the shell where you started the session (UNIX).
- Set your role to build_mgr.
ccm set role build_mgr
- Create a task, assign it to yourself, and
set it as the default.
ccm task
-create -synopsis "set up subproject" -release 1.0 -default
- Change to the directory in your work area
above the directory you want to convert to a project.
- Create a project, specifying the directory
as its root.
ccm create -type
project -root existing_dir -version int
-release 1.0
-purpose "Integration Testing"
- Set the platform value for the subproject,
if necessary.
ccm attr -create
platform -type string -value platform
-project project_spec
- Use the ccm unuse command
to unuse the directory.
- Add the new integration testing project
to your integration testing project hierarchy.
ccm use -p project_spec
- Windows users: If
you use absolute subprojects, change the makefiles, the build process,
and all automated jobs to reflect the changes you have made.
If you use relative subprojects, no changes
are necessary.
- Complete the current task.
ccm task -complete default
- Perform an integration test cycle, then Creating a baseline.
- Copy a system testing project from the new
project.
This operation is discussed
in Creating the system testing projects.
- Update your top-level system testing project,
rebuild your application, then run your test suite.
Note: Repeat
this process for each platform, checking out integration and system
testing project for each platform.
- Exit from the database.
ccm stop