Knowledge Base > Licensing > IntelliJ Plugin Enterprise Edition licensing
IntelliJ Plugin Enterprise Edition licensing
- Enterprise Edition
- Activating an Enterprise Edition license while online
- Activating a Diffblue Cover IntelliJ plugin installation while offline
- Detailed Workflow - using Diffblue Cover CLI
- Further information and troubleshooting
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 DCover CLI:
- Close your IntelliJ IDEA IDE
- Follow the process as described in the Detailed Workflow using
dcover activate --offline
- Restart your IDE
- 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>
.
- Install DCover CLI on the computer - further installation details can be found here.
- Locate your license key from Diffblue (represented here by
XXXX-XXXX-XXXX-XXXX
). -
Run DCover 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
-
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.
-
Download the resulting offline activation response file.
-
Copy the offline activation response file to the user home directory of your target computer at:
<USER_HOME>/.diffblue/offline/ls_activation.lic
-
Run DCover CLI to import the offline activation response file using your license key:
dcover activate --offline XXXX-XXXX-XXXX-XXXX
- You are now ready to run
dcover create
on your target project.
Further information and troubleshooting
For further information, please see our legal documentation and our troubleshooting page on network connections.