The following workflow combines the benefits of using the browser GUI and CLI to automate licensing.

  1. Use the GUI to display the deals, lines and then systemIds for your deal.

  2. Copy an unused systemId into your paste-buffer.

  3. Log onto the target system ( in this example) where you’ve unpacked the product release ZIP and added licensing-cli.jar to the same directory. And run the following commands with the appropriate systemId pasted as per the example:

    prod1% cd /some/dir/DeltaXML-XML-Compare-10_4_2
    prod1% java -jar licensing-cli-1.0.2.jar auth
    prod1% java -jar licensing-cli-1.0.2.jar activate c3759499-51fc-49f3-8ee5-0b41a6f5f6fc
    prod1% java -jar licensing-cli-1.0.2.jar download c3759499-51fc-49f3-8ee5-0b41a6f5f6fc
    prod1% java -jar deltaxml-10_4_2.jar

    In this example we don’t need to specify the HostId of the system we are activating as the CLI will use the system it is running on when this argument is not specified. Additionally the download operation will save the licensing file to the correct filename for the product in the current directory and if that current directory is the product install directory no further action is required.

  4. Repeat 2 & 3 for the other systems.

  5. If you now refresh the browser the details of the systems will be updated.

    And you can see the history of those changes by clicking on the history link for each system.