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

Add a workspace to SVN – PB Docs 2022 – PowerBuilder Library

Add a workspace to SVN – PB Docs 2022

Add a workspace to SVN

You can add a PowerBuilder workspace to the SVN source control
system from the PowerBuilder IDE. Make sure all of your source code
for the workspace is located under the same directory as the workspace
(*.pbw) file or under its sub-directory.

To add a PowerBuilder workspace to the SVN source control
system:

  1. Right-click the workspace in the System Tree and select
    Add to Source Control from the
    pop-up menu.

  2. In the Add to Source
    Control
    dialog box, select Subversion (SVN) as the source control
    provider for the current workspace and click OK.

    select_source_control_provider.png

  3. In the SVN Login dialog
    box, input the information required by the source control system.
    If the login information has been input before, they will be
    filled in automatically.

    In the Repository URL box,
    input the URL of the SVN source control repository. The name of
    the current workspace is automatically displayed and a folder will
    be created with this name for storing this workspace on the
    server. Notice that the URL for the workspace will be the server
    repository URL + the workspace folder name. Use this complete URL
    when downloading the workspace. Connecting to a local repository
    of SVN using the file:// protocol (such as
    file:///C:/SVNRepository) is unsupported.

    Select an authentication type. Token is not supported for
    SVN currently.

    Type in your user name and password for the SVN source
    control system.

    Click Connect to make sure
    connection is successful and then click OK.

    Specify the encoding format for the source code files in
    “ws_objects”. You can select from: ANSI/DBCS, HEXASCII, and UTF8.

    connect_to_workspace.png

    After connecting with the source control system
    successfully, the Add to Source
    Control
    dialog box displays listing all the files for
    the workspace that are not currently under source control. You
    cannot add files that are already under source control.

    You may notice that a “ws_objects” folder is automatically
    created under the workspace. This folder is for managing the
    source code file of the PowerBuilder objects including .srw (for
    window), .srm (for menu), .sru (for user object), .srd (for
    DataWindow), etc. It must be added to source code, in order to
    manage the source code at object level.

    All of the source code for the workspace must be located
    under the same directory as the workspace (*.pbw) file or under
    its sub-directory.

    add_to_source_control.png

  4. In the Add to Source
    Control
    dialog box, select the files and folders
    (especially “ws_objects”) and click OK.

    PowerBuilder starts uploading the selected files and folders
    to the source control system. After the file or folder is added to
    source control, the object in the PowerBuilder System Tree will be
    marked with a green dot (sccicon5.gif) in front of it, indicating that its source
    code file on the local computer is in sync with the file on the
    server.

    Note

    If using the proxy server, configure the proxy server IP
    address and port number in the PB.ini file. See Using proxy server for
    more information.


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