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

Building Web targets – PB Docs 80 – PowerBuilder Library

Building Web targets – PB Docs 80

Building Web targets

The build phase
for a Web target:

  • Provides link verification
  • Moves the files to a Build folder under the target
    folder
    to make the files available for deployment

You can build an entire target, or just one file. Building
a file lets you quickly make sure that links from the file work.

Link verification

When the build process verifies the links from one file to
another in the target, it displays information about broken links
in the Output window. It also verifies the syntax–but not
the integrity–of links outside the target.

Double-clicking the broken link in the Output window opens
the file in the HTML Editor. You can choose to fix the link or not.
If you do not fix the link, the deployed files will also have a
broken link.

The Web target processes the following HTML attributes during
link verification:

ACTION CODEBASE HTTP-EQUIV
BACKGROUND DYNSRC SRC
CODE HREF

Elements that use these attributes include:

Element Attributes processed
A HREF
Applet CODE, CODEBASE
Base HREF
Bgsound SRC
Body BACKGROUND
Form ACTION
Frame SRC
Img SRC, DYNSRC
Input SRC (for TYPE=”image”)
IsIndex ACTION
Layer SRC, BACKGROUND
Link HREF
Meta HTTP-EQUIV
Script SRC
Object CODE, CODEBASE
Table BACKGROUND
TD BACKGROUND
TH BACKGROUND

Files in Build folder

The Web target build process copies files from the target
Source folder to the target Build folder. These folders are visible
in the Web target development environment (in the Library painter
or in the System Tree when the root is set to My Computer).

Files from the Build folder are processed during deployment
to a Web site. When you explicitly build a target, you can choose
to build all of the files in the target, or only those files that
have changed since the last build.

How to build a target

Invoking the build process whenever you save a file gives
you timely information about the links in the file, and ensures
that you have a copy of your changes in the Build folder–ready
for deployment. You can also build a file or an entire target at
any time.

proc.gif To build a Web target:

  1. On the Workspace tab page of the System
    Tree, right-click a target and select one of the following from
    the popup menu:

    Select this menu item To do this
    Full Build Build all the files in the target
    Incremental Build Build target files that have changed
    since the last build

    You can also set a deployment option to specify if you want
    to do a full build or incremental build when you deploy your Web
    target. For information on setting this option, see “Editing a deployment configuration”.

    If you want to build all of the files within a workspace,
    you can use the Workspace Run menu. When you build a workspace,
    the build processes target files within the active workspace. A
    workspace build can also be full or incremental.

proc.gif To build an individual file:

  1. On the Workspace tab page of the System
    Tree, right-click a file, then select Build from the popup menu.

proc.gif To build multiple files (without building a target
or workspace)

  1. In the List view of the Library painter,
    displace the Source directory under your Web target directory.

  2. Use the ctrl key to select
    all the files you want to build.

    You can use the shift key instead to select
    consecutive files in the list.

  3. Right-click the selected files and select Build
    from the popup menu.


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