cancel
Showing results for 
Search instead for 
Did you mean: 

using pushok git with powerbuilder

Former Member
0 Kudos

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

https://archive.sap.com/discussions/thread/3808426

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*

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

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 objectname.sr* 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.