Step 1: To build and deploy the PowerServer project using the command-line tool (instead of within PowerBuilder IDE), install the following software.
-
Windows 10 or 8.1, or Windows Server 2019, 2016, or 2012 R2
-
PowerBuilder Compiler 2021
The command-line tool (PBAutoBuild210.exe) is included in PowerBuilder Compiler.
-
PowerBuilder Runtime 2021
-
PowerServer Toolkit 2021
The PBAutoBuild210.exe tool can automate the entire build and deploy process outside PowerBuilder (without needing any PowerBuilder license).
Step 2: Prepare the database driver if the MySQL, Oracle, or Informix database connection is required.
If the MySQL, Oracle, or Informix database connection is used and if the corresponding database driver has not been downloaded yet, you will need to manually download the database driver from the NuGet website.
-
For MySQL, download MySql.Data 8.0.25 and the license file, and unzip the files to %USERPROFILE%\.sd\19.0\dbDrives\MySql.Data\8.0.25.
-
For Oracle, download Oracle.ManagedDataAccess.Core 2.19.110 and the license file, and unzip the files to %USERPROFILE%\.sd\19.0\dbDrives\Oracle.ManagedDataAccess.Core\2.19.110.
-
For Informix, download IBM.Data.DB2.Core 2.2.0.100 and the license file, and unzip the files to %USERPROFILE%\.sd\19.0\dbDrives\IBM.Data.DB2.Core\2.2.0.100.
They will be automatically loaded by PBAutoBuild210.exe when creating the database connection.