Rebuilding binaries from sources
- New
- Issue
- Git
- PowerBuilder
-
Richard Hartman
- PowerBuilder
- Thursday, 2 October 2025 06:57 PM UTC
I have asked a similar question before, but I need a couple of points clarified.
To be clear on my part: when I say "sources" I am talking about the human-readable files with extensions like .srd for data windows and .srw for window windows. Binaries are the .pbl and .pbd files.
General observation: It really seems like the general philosophy of this product is that the binary files (.pbl, .pbd) are considered "primary" while the actual source files are secondary -- almost an afterthought. But this philosophy does not play well with code repositories, which treat binary files as opaque BLOBs.
FIRST ISSUE:
In general, it seems the way to rebuild a module's binary from the sources is to right click on the library module (e.g. app.pbl) and select "refresh".
However.
As I understand it, this GOES TO THE REPO to get the sources to rebuild from, rather than rebuilding from the sources on the disk.
Am I correct?
If I am correct, is there a way to tell it to rebuild using the sources that are out on the disk?
When merging branches in git, the binaries (.pbl, .pbd) can not be merged. ONLY the human readable sources can. But when the merge operation is incomplete -- as when it detects merge conflicts in the .pbl files -- the successfully merged sources exist only on the disk not in the repo, until you complete the merge. The way to "resolve" these conflicts in the .pbl would be to compile from the updated sources.
So, to sum up: is there a way to rebuild the binaries from the sources ON THE DISK, not the sources in the repo?
SECOND ISSUE:
The refresh operation is on a per-.pbl basis. If you have twenty .pbls, you have to right click on each one to rebuild it. Is there a way to rebuild everything at once FROM THE SOURCES. The normal "full build" or "incremental build" builds the project from the .pbl files ... which are currently invalid. If I have to do them one at a time, I will. But I would like to just do them all at one go if that is possible.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.