1. Robert Carlson
  2. PowerBuilder
  3. Monday, 15 July 2024 19:36 PM UTC

Hello All,

I have implemented an automated compile process for our application using the PBAutoBuild220.exe. The question I have is in the "Merging" portion of the compiling process. We are currently using TFS for source control in PB. Before I am calling the command to run PBAutoBuild, I am issuing a TF get command to get the latest version of software, and then calling the PBAutobuild220.exe. This works fine and the application is deployed and working as expected. The issue I have is that it appears that PBAutoBuild is importing ALL of the objects in the source directory and refreshing ALL of the PBLs, instead of just the objects that were updated with the TF get latest. Is this expected behavior? Is there a way to only import and update objects that changed (as if you were to right-click and "get latest version" on the target in the IDE)? The issue is that the compile takes a lot longer this way, than if I were to do it manually in the IDE (30mins compared to over an hour with PBAutoBuild). Thanks in advance. Any help would be appreciated.

kitty he @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 17 July 2024 08:19 AM UTC
  2. PowerBuilder
  3. # 1

Hi Robert,

 

You can try setting the RefreshPBL to false in the merging part of the JSON file to see if it meets your requirements.

 

Regards, 

Kitty

Comment
  1. kitty he @Appeon
  2. Thursday, 18 July 2024 01:47 AM UTC
Hi Robert,



When RefreshPBL = true in AutoBuild, it will delete all existing PBLs and rebuild them from scratch, then import all objects. This ensures that all changes are updated. When RefreshPBL = false, existing PBL objects will not be deleted. Instead, it will only compare the objects in the PBL for updates and insertions (deletions cannot be performed in this case). This is the difference between the two settings.



Regards,

Kitty

  1. Helpful
  1. Robert Carlson
  2. Wednesday, 24 July 2024 13:04 PM UTC
Hi Kitty,



I understand how the RefreshPBL setting works. I have RefreshPBL = false in my JSON file. The issue I am having is that it is importing all nine thousand some objects instead of just the ones that are new or that have changed. The compile takes over twice as long than if I were to run it from the IDE. Is this because I am using TFS for source control, and getting latest outside of the PBAutoBuild.exe?
  1. Helpful
  1. kitty he @Appeon
  2. Thursday, 25 July 2024 03:44 AM UTC
Hi Robert,



There are some differences in the logic between AutoBuild and the IDE. The difference you observed is expected.



Regards,

Kitty

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.