Skip to Content

using pushok git with powerbuilder

Feb 16, 2017 at 05:29 PM


avatar image
Former Member

This article eludes to some instructions on how to source control using git.

However, I am looking for step by step instructions on how to setup a 'hello world' sized app into git, and then get the code for another developer. Including what happens to the pbw and pbl files since apparently those have to be shared outside of SCC *BOGGLE*


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Feb 16, 2017 at 07:46 PM

I have never used git so I can't help with that.

The pbw file is a text file listing the targets in the workspace. There is no need to source control this file.

The pbt file is a text file listing the library list of the target. You will want this in source control.

The pbl file contains the source and executable for objects in the library. This does not need to be in source control.

In the PowerBuilder IDE when you do an Add or Check-In, the IDE exports the object source to a* file. An array of .sr* filenames are then passed to the source control provider. Since the target file is plain text, its name is passed directly. When you do a Check-Out or Get Latest Version, the IDE does a Get of the .sr* file and then imports it into the library.

There is another file called libraryname.pbg. This is a text file containing a list of the objects that are in source control. When the IDE does an Add or Remove, it automatically does a Check-Out/Modify the file/Check-In. This is how other users become aware of newly added objects.

10 |10000 characters needed characters left characters exceeded