FlexNet Code Insight 6.13.3
Custom data, including custom source code fingerprints and custom digests, are managed centrally in the application. This means that custom fingerprints and digests will be picked up by all workspaces. If you need to isolate custom data to a particular workspace, contact Flexera SCA Support from the Customer Community page https://flexeracommunity.force.com/customer/CCContactSupport.
Custom fingerprint generation is controlled by an XML configuration file. The template for this file is located in:
scriptRunner/scripts/customFingerprints_template.xml
All custom data is centralized, so you must always modify this file when generating custom fingerprints. The basic instructions for generating custom fingerprints are as follows:.
To generate custom fingerprints, do the following:
1. | Go to the scriptRunner/scripts directory and make a copy of the customFingerprints_template.xml file. You can edit this file or make a copy of it. For example purposes, we assume we are editing the customFingerprints_template.xml file in these instructions. |
2. | Edit the customFingerprints_template.xml file located in the scriptRunner/scripts directory as follows, and save the file when finished: |
Line |
Code |
Line 14: Set the output directory to point to the corporate workspaces directory:. |
outputDir="Palamida/workspaces/CorporateWS"> |
Line 22: Set the product name for which you are generating SCF. |
<product name="component_foo"> |
Line 23: Set the release name for every distinct release for which you are generating SCF. |
<release name="component_foo_1.0.zip"> <release name="component_foo_1.2.zip"> |
Line 28: Provide a directory where the source code for the fingerprints is located. |
<fileset dir="/Palamida/custom/foo_directory"> Note • You must provide the path to the directory, not the file path. Custom SCFs will be generated for all the files under this directory. |
3. | Ensure the FlexNet Code Insight Server is running. |
4. | Invoke scriptRunner to generate custom fingerprints: |
<CODE_INSIGHT_ROOT_DIR>/6.13.x/scriptRunner/bin/./scriptRunner.sh customFingerprints.groovy -d customFingerprints_template.xml
or (if you are on Windows)
<CODE_INSIGHT_ROOT_DIR>/6.13.x/scriptRunner/bin/scriptRunner.bat customFingerprints.groovy ‑d customFingerprints_template.xml
5. | Wait for the script to finish, which can take a long time if you are processing a large number of files. |
Note • It is no longer necessary to publish the CorporateWS with a script as it was in previous versions of the product.
6. | Rescan any compliance workspaces that you want to pick up the new custom fingerprints. New workspaces will automatically pick up the custom fingerprints. |
FlexNet Code Insight 6.13.3 Online Help LibraryDecember 2019 |
Copyright Information | Flexera Software |