Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Build and deploy the PowerServer project – PB Docs 2022 – PowerBuilder Library

Build and deploy the PowerServer project – PB Docs 2022

Build and deploy the PowerServer project

To build and deploy a PowerServer project:

  1. Before building and deploying the application, make sure to
    close any antivirus tool on the development machine.

  2. Click the Build & Deploy
    PowerServer Project
    button (build-deploy.png) in the toolbar, or right-click the
    PowerServer project in the System Tree and then select Build & Deploy PowerServer Project to
    build and deploy the application to the server. Or select
    Deploy PowerServer Project if you
    have already built the application before.

    The application executable file (as well as the PBD files)
    is generated under %TEMP%pbappscache emp[appname] (for example,
    C:UsersappeonAppDataLocalTemppbappscache empsalesdemo_cloud)
    on the development machine, then digitally signed, and deployed to
    the server.

    The PowerServer C# solution is generated under the specified
    location (by default C:Users[username]source
    epos).

    Note

    After the application is deployed to the server, do not
    manually change the application folder name on the server,
    otherwise the application uninstall program will fail to
    run.

The build & deploy process is composed of the following
tasks:

Process

What does the process
do?

Build

1) Generates or updates the PowerServer C#
solution (using the specified Auth Template).

2)
Converts PowerBuilder DataWindow objects to .NET DataStore
models and parses the embedded SQL statements and adds them to
the AppModels
project.

3) Configures or updates the PowerServer
Web APIs compilation environment.

4) Compiles the
scripts and analyzes unsupported features.

5)
Generates the PBD files, app executable file, and other
application files.

Deploy

Adds the server settings (app name, Kestrel port
number, PowerServer license, and database configurations) to
the PowerServer C# solution.

Deploy or Package

Uploads the app files (PBD files, app executable
file, external files etc.) and settings (runtime file list,
Web API URL, and other project settings) to the server, or
creates an application package that includes these files and
settings.

You can also build and deploy the project using commands (see
Build the
PowerServer project with commands
for details).


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x