1. Jeong Dae Ryong
  2. PowerBuilder
  3. Friday, 2 February 2024 02:48 AM UTC

After compiling to Full, only one specific pbl
Is there any way to compile and distribute it?

John Fauss Accepted Answer Pending Moderation
  1. Friday, 2 February 2024 23:43 PM UTC
  2. PowerBuilder
  3. # 1

Although you have explained WHY you are wanting to compile a single pbl, I presume it is because you have made a change, but do not wish to perform a full build of the application. 
We have our commercial application structured so that the first pbl in the library list contains ONLY the application object. The second pbl is normally empty and is deployed that way in most cases. If we need to make a change for a single customer, or don’t want to do a full build, we place the updated object(s) along with any impacted dependent objects in that second pbl, build the runtime library for that single pbl, and replace the normally empty pbd with the new one that contains the changes. 
Since this pbl/pbd precedes all other libraries and objects (except for the application object), the changed objects are found/used instead of the original ones. 
Hope this helps. Best regards, John

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 2 February 2024 04:41 AM UTC
  2. PowerBuilder
  3. # 2

Comment
  1. René Ullrich
  2. Friday, 2 February 2024 10:22 AM UTC
@Jeong PB checks for dependencies to compile. There are risks only to deploy one compiled PBL because some code changes may cause to compile also other objects.
  1. Helpful
  1. Roland Smith
  2. Tuesday, 6 February 2024 02:13 AM UTC
Sorry, I forgot that it requires either an Incremental or Full rebuild. I submitted an enhancement request to add None as an option. Not sure what their plans are to implement it.
  1. Helpful
  1. mike S
  2. Tuesday, 6 February 2024 03:53 AM UTC
use orca script to compile a single pbl. then it doesn't touch any other pbls. i never use the ide to build of a single runtime library.
  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.