Packaging & Deployment Guide
These instructions are for developers and maintainers of CIMTool that need to package and distribute the binaries as an Eclipse Product. Most users of CIMTool don't need to be concerned with these details.
It is important to highlight that the set of CIMTool plugins is not distributed from a plugins update site as with other Eclipse plugins. Rather, CIMTool is packaged and deployed as an Eclipse Product.
Packaging & Deploying CIMTool as an Eclipse Product
When preparing for a new release of CIMTool, if not already applied earlier in the development process, then all MANIFEST.MF files for all CIMTool plugin projects must be updated to reflect any updates to their versions since the last release. Note that some projects may not have changed and consequently may not require a version update.
Industry standard semantic versioning rules must to applied when determining the versions of both CIMTool plugin projects as well as for individual release version of the CIMTool Eclipse Product. (Refer to Semantic Versioning 2.0.0 for further information).
From within Eclipse:
- Select the CIMToolProduct project and right mouse click and select the Export menu option as shown.
- Next, select the Eclipse product export type and click Next.
The Export dialog screen will appear. An existing Eclipse product configuration file must be selected for export.
- To select a configuration click the "Browse..." button.
- Select the existing production configuration as shown then click the OK button.
The Export dialog provides two destination options for exporting the CIMTool Product. Either option will work, however, if not exporting directly as an archive then additional manual steps are required to package CIMTool.
The configuration settings highlighted in the next screenshot are for exporting as an archive. A couple of items to highlight:
The Root directory field is required and specifies the name of the directory that will appear within the archive file and which will serve as the root directory when extracting. For the purposes of CIMTool the naming convention should be adhered to for each release:
The "Synchronize before exporting" option should be checked.
The Archive file field allows for the selection (i.e. Browse...) of a directory to which to export the CIMTool Product ZIP archive. Note that the screenshot illustrates an example of the CIMTool project naming conventions for archive file names:
The x64 architecture is a backwards-compatible extension of x86. It provides a legacy 32-bit mode, which is identical to x86, and a new 64-bit mode. The term "x64" has included both AMD 64 and Intel 64. The instruction sets are close to identical. As of today, the x86 architecture is no longer being supported for new releases of CIMTool.
|Example Archive Name
|For 64-bit Java (Windows 7, 8, 10, 11)
|For 32-bit windows or 64 bit windows running 32 bit Java.
|Mac OSX 64bit
|Mac OSX 64-bit
Once the export settings have been entered click the Finish button.
During export, the progress of the export will appear in the Eclipse status bar in the lower right hand corner.
When completed the exported archive file is ready to be released. This should be done at the time release notes are created and dropping the
*.zip archive onto the area in the release notes shown next.