Last year I made a change in a Powerbuilder 2017 R3 program. Specifically these were to change the name of a function call to update_last_login_dt to update_last_login_dt2 in the w_login window. I pushed the changes to the central GIT repository, built it and delivered to the customer.
Today I pulled down the Powerbuilder source to a new local GIT repository directory on my workstation by performing File->Connect to workspace". I opened it in Powerbuilder and noticed the change was not there. I inspected the local GIT repository and the central GIT repository and found the following to be true:
Central GIT repository:
- ws_objects folder - the change was present in the gui_common.pbl.src/w_login.srw file.
- pbl files - no comments of the said change
Local GIT repository that I created via "connect to workspace"
- ws_objects folder - the change is present in the gui_common.pbl.src/w_login.srw file
- pbl files - change not present. I dumped the gui_common.pbl using pb_dumper.exe utility and inspected the w_login.srw file that it produced. I did not see the change.
- viewing in Powerbuilder 2017 R3 - the change is not present in the power script of the w_login window event ue_wrapup.
Question: with all that said how do I get the changes embodied in the ws_objects into the .pbl files?
I looked at the .pbl and ws_objects before and after. The ws_objects updated the .pbl. The two objects I was expecting got imported and compiled. The changes appeared in the IDE as expected. Problem solved.
Thanks Michael.
Will
I knew because I was pulling my own hair trying to figure out why my source files and PBL files were out of sync when git integration was brand new. /M