-
Luc Railhac
- PowerBuilder
- Tuesday, 21 October 2025 04:22 PM UTC
Hi,
We converted our workspace into a solution and successfully recreated 2 branches in our Git repository, patch and develop (created from patch). Develop has some new objects, some modified and some deleted when compared to patch.
In workspace mode, everything goes well, objects are added or deleted when we switch branches and the operation takes about 1:15.
In solution mode, the switch branch is instant, but when we try to run the app PB attempts an incremental build and fails due to deleted objects.
We get messages like:
---------- Compiler: Errors (17:21:29)
[ERROR] The object 'c:\dev\pb2025\sntrp\sntrp_tb_maj.pbl\uct_m_tableau_validation.sru' does not exist.
So we have to do a full build, which works fine and takes between 1:30 and 2 minutes (in workspace mode it takes 10-15 minutes, so the improvement is great)!
We have a few questions:
- Is it normal for incremental compilation to fail due to objects being deleted between branches?
- Is there a way to prevent this from happening?
- Is there a way to automatically launch a full build on a switch branch?
At this point we have 2 options:
- Stay in workspace mode and wait 1:15 for each switch branch (testing some heavily modified features often requires a full build anyway, which adds 10 to 15 minutes).
- Convert to a solution and do a full build after each switch branch (1:30-2 minutes).
The second solution obviously seems better, but requires to click on "Full build" after "Switch branch".
Do you have any thoughts/advice on these questions?
Thanks,
Luc
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.