Summary: This section describes how to prepare and deliver the source code of your PowerBuilder application.
Discovery is a process that is actioned during the delivery process CAST will attempt to automatically identify "projects" within your application using a set of predefined rules. Discoverers are currently embedded in CAST AIP Core:
You should read the relevant documentation for each discoverer (provided in the link above) to understand how the source code will be handled.
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:
CAST highly recommends placing the files in a folder dedicated to PowerBuilder. If you are using a ZIP/archive file, zip the folders in the "temp" folder - but do not zip the "temp" folder itself, nor create any intermediary folders:
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:
# ============== # 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=
Above all, the options defined in the AIP Console GUI have priority over the Windows registry and the aip-node-app.properties file.
See How do I add a source code package to my delivery.
When creating packages to discover and extract your PowerBuilder application you should create them as listed below:
Source code root folder
Use the "Files on your file system" / SVN / TFS options in the CAST Delivery Manager Tool:
Click to enlarge
See How do I fine-tune my Version for more information.
See How do I deliver the Version for analysis for more information.
See Validate and Accept the Delivery for more information.