Versions Compared

Key

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

...

argument
Specify type of the server to connect, <tw> or <twcloud>, where <tw> is Teamwork Server, as the default type of the server, and <twcloud> is Teamwork Cloud.

Type of argument

Parameter

Description

Mandatory argument

-project

Specify a file name with the path of a MagicDraw project. Both relative and absolute paths are supported.

-config

Specify a SimulationConfig without a qualified name to run.

Note
titleNote

If SimulationConfig has duplicate names (in different package), a warning message will be displayed in the Simulation log, and the first name will be used.



-properties propertiesFileName

Specify the name of a properties file to use, e.g., in the TestSimulationCommandLine.zip sample.

Note
titleNote
  • If the -properties option is specified, the argument is the name of a properties file, and the mandatory argument is no longer required.
  • A properties file contains -project and -config, along with the specified data of each parameter.


Optional (server) -servertypearguments


-serverSpecify a name or an IP Address (and port) of the server.
-leaveprojectopen

Leave the project open per property file after simulating the project, in a series of project simulation. The default value is false.

-login

Specify a login name to log on to the server.

-password

Specify a password to log on to the server.

-spassword

Specify an encrypted password to log on to the server.

Note
titleNote

To generate an encrypted password for this option, use the following command line. The characters of the encrypted password will be returned, e.g., 49034c0439….


generate -generatepassword “Administrator”


-ssl

Specify to use and enable Secured Connection (SSL), <true> or <false> as the default value.

-pversion

Specify the version of the server project.

-tag

Specify the tag name of the server project.

Note
titleNote
  • -tag can't be used with -pversion.
  • If multiple projects are returned, only the latest version will be run.


Teamwork Cloud argument



-branch

Specify a branch of Teamwork Cloud projects.

Note
titleNote
  • -branch and -pversion cannot be specified in the same command.
  • If -pversion and -tag are not specified, the latest version of the specified branch will be returned.


-updatemoduleSpecify update project usages if required, <true> or <false>, where <false> is the default.
-projectpassword

Specify a project password.

...