assignlicense (Windows only)

www.altova.com すべてを展開/折りたたむ このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  DiffDog Server コマンドライン >

assignlicense (Windows only)

On execution, the assignlicense command uploads the license file specified by the FILE argument to the registered LicenseServer, and assigns the license to DiffDog Server on this machine. The FILE argument takes the filepath of the license file. The --test-only option allows you to upload to LicenseServer and validate the license, without assigning the license to DiffDog Server. For details about licensing, see the LicenseServer documentation (https://www.altova.com/documentation).

 

Note:This command is supported only on Windows systems. It is not supported on Linux or Mac systems.

 

Syntax

 

DiffDogServer assignlicense [options] FILE

 

Click to expand/collapseコマンドライン上の文字種とスラッシュ

Windows上での DiffDogServer

Unix (Linux、 Mac) 上での diffdogserver

 

* 小文字は (diffdogserver) 全てのプラットフォーム(Windows、Linux、 および Mac)で使用することができますが、大文字と小文字 (DiffDogServer) は、 Windows および Mac のみでしか使用できません。

* Linux と Mac 上ではスラッシュを使用し、Windows 上では、バックスラッシュを使用してください。

 

 

Argument

Description

File

The path to the license file

 

 

Option

Description

--t, --test-only

Values are true|false. If true, then the license file is uploaded to LicenseServer and validated, but not assigned. If the option is specified without a value, then it is set to a value of true.

 

Options are listed in their short forms (if available) and long forms. You can use one or two dashes for both short and long forms. An option that takes a value is written like this: --option=value.

 

Note:On Windows systems: Avoid using the end backslash and closing quote on the command line \", for example, as in: "C:\My directory\". These two characters are interpreted by the command line parser as a literal double-quotation mark. Use the double backslash \\ if spaces occur in the command line and you need the quotes (for example: "C:\My Directory\\"). Alternatively, try to avoid using spaces and, therefore, quotes at all.

 

Examples

Examples of the assignlicense command:

 

diffdogserver assignlicense C:\DiffDog Server12345.altova_licenses

diffdogserver assignlicense --test-only=true C:\DiffDog Server12345.altova_licenses

 

The first command above uploads the specified license to LicenseServer and assigns it to DiffDog Server.
The second command uploads the specified license to LicenseServer and validates it, without assigning it to DiffDog Server.

(C) 2019 Altova GmbH