Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to <modeling_tool_installation_directory>\plugins\com.nomagic.collaborator.publisher, open the template.properties file specify the server related properties.
  2. Generate properties files for all Cameo Collaborator documents stored on the server by executing the following command:

    Code Block
    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


  3. Check the generated properties files and make sure that the template is specified.

    Note
    • Document scope should be specified as element IDs. If a document has more than one view, the scope is not specified automatically.
    • If any commented properties have a space after the hashtag symbol (#), the space needs to be removed. Otherwise, the properties will not work.


  4. If there are documents that need to be published from a historic project version, do the following (otherwise proceed to step 4):
    1. Place the properties files generated for the documents that need to be published from a historic project version in a separate folder.
    2. Create branches from the related historic project versions by executing the following command (the property files will be updated with new project branch information):

      Code Block
      java -Dstep=branch -DtwcRestURL=http(s)://<server_address>:<port> -DuserName=<user_name> -DuserPassword=<password>  -DtemplateFolder=<path_to_selected_property_files> -jar collaborator-migrator.jar


  5. Publish Cameo Collaborator documents using the command-line interface.