assignlicense (Windows only)
Syntax and description
The assignlicense command is available on Windows only (not on Linux or Mac systems). It uploads a license file to the Altova LicenseServer with which RaptorXML+XBRL Server is registered (see the licenseserver command), and assigns the license to RaptorXML+XBRL Server. It takes the path of a license file as its argument. The command also allows you to test the validity of a license.
raptorxmlxbrl assignlicense [options] FILE
raptorxmlxbrlserver assignlicense [options] FILE
•The FILE argument takes the path of the license file.
•The --test-only option uploads the license file to LicenseServer and validates the license, but does not assign the license to RaptorXML+XBRL Server.
•The assignlicense command can be called from either executable: raptorxmlxbrl or raptorxmlxbrlserver.
For details about licensing, see the LicenseServer documentation (https://www.altova.com/manual/AltovaLicenseServer/).
RaptorXMLXBRL (and RaptorXMLXBRLServer for administration commands) on Windows
raptorxmlxbrl (and raptorxmlxbrlserver for administration commands) on Windows and Unix (Linux, Mac)
* Note that lowercase (raptorxmlxbrl and raptorxmlxbrlserver) works on all platforms (Windows, Linux, and Mac), while upper-lower (RaptorXMLXBRL) works only on Windows and Mac.
* Use forward slashes on Linux and Mac, backslashes on Windows.
On Windows systems: When spaces or special characters occur in strings (for example in file or folder names, or company, person or product names), use quotes: for example, "My File". Note, however, that a backslash followed by a double-quotation mark (for example, "C:\My directory\") might not be read correctly. This is because the backslash character is also used to indicate the start of an escape sequence, and the escape sequence \" stands for the double-quotation mark character. If you want to escape this sequence of characters, use a preceding backslash, like this: \\". To summarize: If you need to write a file path that contains spaces or an end backslash, write it like this: "C:\My Directory\\".
Examples of the assignlicense command:
raptorxmlxbrl assignlicense C:\licensepool\mylicensekey.altova_licenses
raptorxmlxbrlserver assignlicense C:\licensepool\mylicensekey.altova_licenses
raptorxmlxbrl assignlicense --test-only=true C:\licensepool\mylicensekey.altova_licenses
•The first command above uploads the specified license to LicenseServer and assigns it to RaptorXML+XBRL Server.
•The second command calls the server-executable to do the same thing as the first command.
•The last command uploads the specified license to LicenseServer and validates it, without assigning it to RaptorXML+XBRL Server.
Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.
--t, --test-only = true|false
Values are true|false. If true, then the license file is uploaded to LicenseServer and validated, but not assigned.