Create an Eclipse workspace and integrate it with BlackBerry UEM
Eclipse
workspace and integrate it with BlackBerry UEM
You must integrate your development environment with a local
BlackBerry UEM
installation that is reserved for testing your BlackBerry UEM
plug-in. This gives your Eclipse
environment access to the necessary development resources and dependencies for the BlackBerry UEM
components, including the BlackBerry UEM Core
and the management console, and provides the necessary mechanisms to integrate a BlackBerry UEM
plug-in.The integration process creates a folder for the plug-in in the
BlackBerry UEM
installation files, in <drive>
:\Program Files\BlackBerry\UEM\ext. The UEM
Integration plug-in for Eclipse
packages and deploys code to this file path so that you can test the plug-in with your local BlackBerry UEM
installation.In the
Windows
Services, set the start-up type for the BlackBerry UEM Core
and management console services to Manual. Disable automatic restart for both services. Stop the BlackBerry UEM Core
and management console services. After you complete the integration task below, you will configure your development environment to start and run the BlackBerry UEM Core
and management console.- RunEclipseas an administrator and open a workspace.
- On the menu, clickUEM Plug-in Tools > UEM Integration Setup.
- For theUEM Root Directoryfield, clickBrowseand navigate to the root folder for theBlackBerry UEMinstallation (for example, C:\Program Files\BlackBerry\UEM).
- For thePlug-in Project Rootfield, specify a root folder (for example, C:\example_plugin).
- Select theCreate Basic Plug-in Projectscheck box.
- If you want to enable a background process to scan for discouraged uses of theUEMIntegration APIs, verify that theEnable Private API validatorcheck box is selected.
- If you upgradedUEMto a new version and you are running the integration process for the first time after the upgrade, select theRegenerate launcherscheck box. This will regenerate the utilities that are used to launch theBlackBerry UEM Coreand management console fromEclipse.
- ClickOK.
- TheBlackBerry UEM Plug-inwindow lists anyBlackBerry UEMservices that are running that may interfere with the integration process. Select all of the services and clickOK.
- In theBlackBerry UEM Integration SDK Development Environmentwindow, specify the ID, name, and version for theBlackBerry UEMplug-in that you plan to develop.The plug-in ID must:
- Use the format, where<company>.<product>.<plug-in><company>is the fully qualified internet address of the company in reverse order (for example, com.company),<product>is the name of the product that the plug-in is built for (only required if there is more code to the product than just theBlackBerry UEMplug-in), and<plug-in>uniquely identifies the plug-in code. For example:com.blackberry.sampleproduct.monitoringplugin
- Be globally unique and human-readable
- Meet all criteria when treated as case-sensitive or case-insensitive, must be consistent wherever used (it is recommended to use only lower-case characters)
- Use ASCII characters with the following conventions:
- each segment must begin with a letter (a-z) and the remaining characters in a segment must be a letter (a-z) or a number (0-9)
- segments must be separated by a single period (.)
- ClickOK.
When the process completes, the workspace restarts to apply the configuration changes. You will see the new project structure in the Package Explorer tab.
Project structure following integration with
BlackBerry UEM

- If you run into issues setting up the workspace, review the setup logs underConsole > BlackBerry UEM Integration SDK Plug-in Consoleand see Best practices and troubleshooting. After you resolve errors, repeat this task. Clear theCreate Basic Plug-in Projectscheck box before you run the integration process again.
- In theWindowsServices, restart theBlackBerry UEMservices, except for theBlackBerry UEM Coreand the management console services. In the following tasks you will start these services fromEclipse.