I am working on a large-ish codebase containing about 20 libraries. This codebase is currently in PB2017 but we want to migrate it to PB2019R2 in order to benefit from enhanced REST/HTTP support. I have successfully migrated it 2 months ago and started some promising development work on a separate branch, merging from main trunk on a regular basis.
All of sudden, starting Friday we failed to compile the application using either PB environment or command-line pbc2019. We have been trying a lot of different things for the past 3 days but to no avail: Compilation fails and the compiler crashes always in the same place (eg. some resource that's part of the library containing the application program).
I don't know what to do at this stage as PB does not give me any kind of information on why it is failing.
What can I do to investigate that issue? This is critical for us as we are rolling-out new developments and we desparately need that migration to happen.
I would now suggest:
1) Optimize all your Apps PBLs.
2) Perform a full build
3) Restart the IDE
4) Retry a project deployment.
If the above fails ...
5) Build a new Project
6) Try to deploy from the new project.
HTH
Regards ... Chris
So here is what I did to solve the issue:
- use an orcascript to refresh target and generate PBLs from sources without compiling
- open PB2019
- for each menu, do a regenerate
- optimise each library
- tryign to deploy again raises an issue with 'The current library list is different from the library list contained within this project. The project library list has been updated. Refresh build options for the changed list and try again.''
- saved the open painter for project
- done deploy and it finally worked!!
Thanks for your help.