After upgrading Cameo Collaborator for Magic Collaboration Studio from version 19.0-19.0 SP4 to version 2021x Refresh1 or later, you need to migrate all the published Cameo Collaborator documents to a new version. This chapter explains how to perform an automated Cameo Collaborator document migration from the command-line interface using a JAR file. The workflow described below will update all the documents in the Magic Collaboration Studio server using the whole model as a scope.
|
To migrate Cameo Collaborator documents
Generate properties files for all Cameo Collaborator documents stored on the server by executing the following command:
java -Dstep=properties -DtwcRestURL=http(s)://<server_address>:<port> -DuserName=<user_name> -DuserPassword=<password> -DtemplateFile=<path_to_template.properties> -DdestinationDirectory=<path_to_destination_directory> -jar collaborator-migrator.jar |
Check the generated properties files and make sure that the template is specified.
|
Create branches from the related historic project versions by executing the following command (the property files will be updated with new project branch information):
java -Dstep=branch -DtwcRestURL=http(s)://<server_address>:<port> -DuserName=<user_name> -DuserPassword=<password> -DtemplateFolder=<path_to_selected_property_files> -jar collaborator-migrator.jar |