Get objects from Git
For objects that are changed or added by other developers to the
Git source control server but not yet synchronized to your local
workspace, you can get these objects from the source control
system.
PowerBuilder IDE will add the autocrlf option and set it to true
on Windows if no other Git tool has installed and configured such an
option. However, if you manually change the setting of autocrlf (from
true to false or input), and then download objects from the server,
these objects will have LF line endings instead of CRLF, which will
cause compilation errors in the PowerBuilder IDE. If such compilation
error occurs, you should set autocrlf to true, download files from the
server again, and then compile again. For more about the autocrlf
option, refer to https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration.
To get objects from the Git source control system:
-
Right-click the workspace (that contains the object to be
downloaded) in the System Tree and select Git Pull from the pop-up
menu.Git Pull menu is only available at the workspace level, and
is not available at the target or library levels.PowerBuilder starts downloading the new objects or changed
objects from the Git source control system to the local workspace.
After the object is downloaded successfully, the object will be
marked with a green dot (
) in front of it, indicating that the object
on the local computer is in sync with the object on the
server.If conflicts are detected, you will be prompted in the
output view and will have to resolve the conflict using a Git
client. See the section called “Resolve conflicts” for details.When “Compile failure” error occurs
When “Compile failure” error occurs during the download
process, clicking OK will still download and import the object
with the error (and you will need to fix the error later), or
clicking Cancel will terminate the download process of all
objects and revert back to the object on the local
computer.When to do a full build
When the following problems happen, a full build may help
to fix them:-
If both the parent object and the child object have
been changed on the source control server, the parent object
or the child object may not display correctly after
downloaded from the server to the local computer. -
After the object is downloaded from the server to the
local computer, PowerBuilder IDE crashed when trying to open
the object. -
After the object is downloaded from the server to the
local computer, the application crashed when running from
the PowerBuilder IDE.
-