1. Amit De Picciotto
  2. PowerBuilder
  3. Sunday, 18 June 2023 05:03 AM UTC

Dear all,

I'm facing an issue, on PB 2021, I'm using the autobuild.exe with the JSON, from the application side, I have depend applications that share PBLs, mean that there is one main application and the others have few dedicate PBLs of thier own and all the other PBLs are common between the main and other applications.

 

I'm try to do the merge process to the dependent application and on the JSON of , I have only few PBLs, but the process try to merge all PBLs, even PBLs that are not mentioned on the JSON

 

Details:

Main application have 20 PBLS

 

Side application have two dedicate PBLs to the side application and use the 20 PBLs, as services, from the main application, on the merging process, even if the JSON have only two PBLs, it merge the other 20 as well, how can i avoid it?

 

Many thanks

 

Amit De Picciotto Accepted Answer Pending Moderation
  1. Monday, 26 June 2023 13:31 PM UTC
  2. PowerBuilder
  3. # 1

Many thanks for the answers!

So, basically, there is no use to cut the process to two parts: merge (with JsonA) and compile/build (with JsonB), so, if i'm doing it in two steps, i'm wasting time on the all build, right? since it compile on the merge stage (as well to the build stage)

The time is waste on the merging, over and over again, to the same PBLs that we merging, is there a way to avoid this merging?

The suggestion above is great solution, but all the legacy PBLs are too tighten for taking few of them as shared service (which is indeed, better architecture) 

 

 

Since my project is not on the GIT (yet, i have plans to move there) the ws_objects is not relevant, in this case, when no ws_objects present, it based on the PBG for every PBL?

Many thanks

 

 

Comment
There are no comments made yet.
kitty he @Appeon Accepted Answer Pending Moderation
  1. Sunday, 25 June 2023 02:57 AM UTC
  2. PowerBuilder
  3. # 2

Hi Amit,

 

The merge principle of AutoBuild is the same as PB IDE, both are based on the file structure in ws_objects. It has nothing to do with the list of PBLs in the project.

You can keep the

PBLs that do not need to be used can be stored in separate repositories.

 

Regards,

Kitty

Comment
There are no comments made yet.
Amit De Picciotto Accepted Answer Pending Moderation
  1. Tuesday, 20 June 2023 20:59 PM UTC
  2. PowerBuilder
  3. # 3

Many thanks for the response,

The issue is that it's an old legacy spaghetti code.

 

Why does the merging process merge PBLs that are not mentioned on the JSON?

Thanks

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Sunday, 18 June 2023 15:39 PM UTC
  2. PowerBuilder
  3. # 4

Hi Amit;

  Just my $0.02 but I would remove all the shared PBLs from all your projects & create a separate shared framework App compiling those PBLs into PBDs.

  Then copy the shared logic to each app that uses them in PBD format. Then add those shared libraries to the main app library list as a PBD keeping the App logic in PBL format.

   Now you can deploy a new version of the shared logic when each App is ready to pickup a new release of that shared logic, each app has all the libraries within their domain and the shared project manages the shared code source control wise.

Food for thought.

Regards ... Chris 

Comment
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.