You need to be logged in to view a user's profile.
  1. Gururaja Udupa
  2. PowerServer
  3. Friday, 2 August 2024 15:44 PM UTC

Development Version: PowerBuilder 2022 R3 Build 3356

 

Below information provided in the user guide

Question 1.

'Before any PowerBuilder application is converted by PowerServer, ensure the PBLs have been optimized.' (taken from previous version guide)

URL https://docs.appeon.com/pb2019r2/migration_guidelines/Optimizing_and_full_build.html

When we create the build by using PBAutoBuild and using merging option in JSON to refresh the PBL, how optimization will work?

Sample merging option

"Merging": [

                {"Target": "C:\\pb\\dev\\build\\reg.pbt","LocalProjectPath": "C:\\pb\\dev\\reg\\","RefreshPbl": true}

            ],

We are facing one issue during code compilation and suspecting that optimization is required for one of the libraries. I need to know if any commandline argument is available, so based on this PBAutobuild can optimize the libraries.

Question 2. Is there any maximum size limit is applicable for PBLs?

 Please guide me.

 

Thanks,

Gururaja Udupa

Gururaja Udupa Accepted Answer Pending Moderation
  1. Friday, 6 September 2024 07:44 AM UTC
  2. PowerServer
  3. # 1

Received the hotfix for Bug 12409, and it is working,.

Thanks to Appeon

--Gururaja Udupa

 

Comment
There are no comments made yet.
Gururaja Udupa Accepted Answer Pending Moderation
  1. Monday, 5 August 2024 14:08 PM UTC
  2. PowerServer
  3. # 2

Thanks Ken for the info.

We are facing issues in PowerServer Cloud build by using PBAutoBuild and it is failing without capturing any error logs [Deploy log/Error log]. Since it is a random error,  checked the last import, based on this split the PBL into multiple PBLs. Now it is working. Same library works in other applications without any issues.

 

Is their any ways to get more logs..

Thanks,

Gururaja Udupa

 

 

 

 

 

 

Comment
  1. Ken Guo @Appeon
  2. Tuesday, 6 August 2024 07:12 AM UTC
Hi Gururaja,



Normally, you can use /l or /le to get the log.

PBAutoBuild220.exe /f "D:\PB2022\SalesDemo\salesdemo_exe.json" /l Log_PBBuild.log /le Log_PBError.log



If the PBAutobuild exits unexpectedly, try looking at the last line of log in Log_PBBuild.log to see what went wrong and locate the possible cause.

Also, it’s suggested to check the Windows Error Log as well.



If PBAutobuild exits unexpectedly, you can also submit a bug to the support system(https://www.appeon.com/standardsupport/newbug) and upload a case that reproduces the problem so Appeon can fix it.





Regards,

Ken
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Monday, 5 August 2024 10:07 AM UTC
  2. PowerServer
  3. # 3

Hi Gururaja,


#1. PBAutoBuild cannot and doesn’t need to perform optimization to PBL.
https://docs.appeon.com/pb2019r2/migration_guidelines/Optimizing_and_full_build.html, which you mentioned, is the documentation of the PowerServer 2020 or older (Obsolete) product.
If you need to use PB 2022 PowerServer, please refer to https://docs.appeon.com/ps2022r3/PowerServer_2022R3.html. Optimization is usually performed when the application program has a problem, especially when there’s a problem after migration. If your application program has already executed Full Build in PB IDE and completed properly then Optimization is not required after the migration to PB 2022 PowerServer.

#2. There are no limits to how large libraries can be, but for performance and convenience, you should follow these guidelines:
• Number of objects
It is a good idea not to have more than 50 or 60 objects saved in a library. This is strictly for your convenience; the number of objects does not affect performance. If you have many objects in a library, list boxes that list library objects become unmanageable and the System Tree and Library painter become more difficult to use.
• Balance
Managing a large number of libraries with only a few objects makes the library search path too long and can slow performance by forcing PowerBuilder to look through many libraries to find an object. Try to maintain a balance between the size and number of libraries.


Regards,
Ken

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.