Knowledge Base > Licensing > IntelliJ Plugin Enterprise Edition licensing

IntelliJ Plugin Enterprise Edition licensing

Enterprise Edition

Users of the Diffblue Cover Enterprise Edition are not required to maintain an active internet connection. Offline operation can be enabled by activating an Enterprise License, online via the Plugin. Offline license activation requires the use of the CLI, as described below.

Activating an Enterprise Edition license while online

To activate your license (and therefore to enable the offline mode), go to the Diffblue menu and select Activate License. Enter your license details.

Activating a Diffblue Cover IntelliJ plugin installation while offline

Your copy of the Diffblue Cover IntelliJ plugin can be activated while offline by using the dcover activate --offline workflow from Cover CLI:

  1. Close your IntelliJ IDEA IDE
  2. Follow the process as described in the Detailed Workflow using dcover activate --offline
  3. Restart your IDE
  4. You are now ready to Write Tests using Diffblue Cover Enterprise Edition (Offline Mode)

Please ensure that you exit the IntelliJ IDEA application fully before opening in offline mode. Closing your project window is not sufficient.

Detailed Workflow - using Diffblue Cover CLI

The following instructions detail how to use the Diffblue Cover Enterprise Edition on a target computer that does not have internet access.

You will be required to copy files to and from the relevant user home directory of your target computer (represented here by <USER_HOME>). On Linux or macOS your home directory can be found at /Users/<username> (or ~). On Windows your user home can be found at C:\Users\<username>.

  1. Install Cover CLI on the computer - further installation details can be found here.
  2. Locate your license key from Diffblue (represented here by XXXX-XXXX-XXXX-XXXX).
  3. Run Cover CLI to generate an offline activation request from your license key:

    dcover activate --offline XXXX-XXXX-XXXX-XXXX
    

    An offline activation request file will have been placed in the user home directory of the target computer at:

    <USER_HOME>/.diffblue/offline/ls_activation.req
    

    Detail showing the offline license request in a file explorer

  4. Locate the request file and upload to the Diffblue Offline Licensing Webtool.

    NOTE: This step will need to be done from a computer with internet access.

    Detail from the Offline Licensing Webtool - Request Upload

  5. Download the resulting offline activation response file.

    Detail from the Offline Licensing Webtool - Reponse Download

  6. Copy the offline activation response file to the user home directory of your target computer at:

    <USER_HOME>/.diffblue/offline/ls_activation.lic
    

    Detail showing the offline license response in a file explorer

  7. Run Cover CLI to import the offline activation response file using your license key:

    dcover activate --offline XXXX-XXXX-XXXX-XXXX
    
  8. You are now ready to run dcover create on your target project.

Further information and troubleshooting

For further information, please see our troubleshooting page on network connections.