Source code delivery
AIP Console expects either a ZIP/archive file or source code located in a folder configured in AIP Console. You should include in the ZIP/source code folder all PowerBuilder source code:
D:\temp |-----PowerBuilder |-----OtherTechno1 |-----OtherTechno2
In order for a PowerBuilder analysis to complete successfully, AIP Console needs to know two things (see also PowerBuilder - Analysis configuration):
|Path to pborcXXX.dll||The location of the pborcXX.dll file - this file is part of the PowerBuilder IDE and must be installed on the machine on which the analysis is running - i.e. the AIP Node.|
|PowerBuilder version||The PowerBuilder version that corresponds to the version of the application you want to analyze.|
AIP Console behaves as follows with regard to these options:
- AIP Console will first attempt to discover the location of the pborcXXX.dll file/PowerBuilder version using the Windows registry during the source code delivery process. If AIP Console finds a registry key it will populate the relevant fields in the AIP Console GUI (see screenshot above).
- If no registry key is found, then AIP Console will look in the following file on the target AIP Node. For example - these locations can be filled in BEFORE delivering the source code (you must restart the AIP Node so that the changes are taken into account):
# ============== # PowerBuilder configuration # -------------- # Default version of Power Builder to analyze between (Version8, Version9, VersionX, VersionX5, VersionXI, VersionXI5, VersionXII, VersionXII5, VersionXII6, Version2017, Version2018) powerbuilder.compile.version=Version8 # Path of the pborcXXX.dll file associated to the default PowerBuilder version powerbuilder.pborcdll.location=
- If neither method reveals the location of the pborcXXX.dll file/PowerBuilder version, then the analysis will fail. However, you can manually configure the location directly in the AIP Console GUI once you have delivered the source code and accepted/imported it as the current version. This requires that you perform an Advanced onboarding in order not to generate a snapshot as part of the source code delivery process.
Above all, the options defined in the AIP Console GUI have priority over the Windows registry and the aip-node-app.properties file.
Using legacy CAST Delivery Manager Tool
How do I add a source code package to my delivery