Preparing the environment
Step 1: To build and deploy the PowerServer project using the
command-line tool (instead of within PowerBuilder IDE), install the
following software.
-
Windows 11 or 10, or Windows Server 2022, 2019, or 2016
-
PowerBuilder Utilities 2022 R2
The command-line tool (PBAutoBuild220.exe) is included in
PowerBuilder Utilities. -
PowerBuilder Runtime 2022 R2
-
PowerServer Toolkit 2022 R2
The PBAutoBuild220.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 DB2, MySQL,
Oracle, or Informix database connection is required.
If the DB2, 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.27 and the license
file, and unzip the files to
%USERPROFILE%.netdbdrivesmysql8.0.27. -
For Oracle, download Oracle.ManagedDataAccess.Core
3.21.50 and the license
file, and unzip the files to
%USERPROFILE%.netdbdrivesoracle3.21.50. -
For Informix or DB2, download IBM.Data.DB2.Core
3.1.0.500 and the license
file, and unzip the files to
%USERPROFILE%.netdbdrivesinformix3.1.0.500 or
%USERPROFILE%.netdbdrivesdb23.1.0.500.
They will be automatically loaded by PBAutoBuild220.exe when creating the database
connection.