You can build and deploy the
project by clicking the Build & Deploy
Project button (), or deploy only
by clicking the Deploy Project button
(
) in the toolbar.
Build & deploy process
When you build & deploy a PowerServer project, the following happens:
-
Generate PowerServer C# solution
Copy templates from C:\Program Files (x86)\Appeon\Common\PSToolkit\[version]\NetBuild\AppTemplate
-
Apply project settings to solution
Update the generated solution using settings from the Project Painter (e.g., authentication template, application name, Kestrel port, license, cache settings, etc.).
-
Parse DataWindow and SQLs
DataWindow controls and DataStore objects: Parse and create PowerServer C# models.
Embedded SQLs: Parse and create PowerServer C# models.
For more, refer to the next section: PowerServer C# models.
-
Compile Web APIs
Configure or update the PowerServer Web APIs compilation environment.
Build the PowerServer Web APIs from the updated solution.
-
Analyze PowerScript
Identify and report any unsupported features.
-
Build and process PBLs
Compile PowerBuilder libraries (PBLs) and generate PBD files, application executable, application files etc.
Split PBD files at the object level for deployment optimization.
-
Upload files to server
Upload the following files and settings to the target server:
-
Runtime files
-
Cloud app launcher
-
Application files (PBD files, app executable file, external files, apprun.json etc.)
-
Compiled Web APIs
-
Setting such as runtime file list, Web API URL, versions etc.
-
Deploy process
When you deploy a PowerServer project, the following happens:
-
Apply project settings to solution
Update the solution using settings from the Project Painter (e.g., authentication template, application name, Kestrel port, license, cache settings, etc.).
-
Compile Web APIs
Build the PowerServer Web APIs from the updated solution.
-
Upload files to server
Upload the following files and settings to the target server:
-
Runtime files
-
Cloud app launcher
-
Application files (PBD files, app executable file, external files, apprun.json etc.)
-
Compiled Web APIs
-
Setting such as runtime file list, Web API URL, versions etc.
-