Building and Regenerating from Powerbuilder-Objects
The program was tested and developed for Windows 10 - 32Bit. Programming was done in C # with WPF. The .NET Framework(>= v.4.72) or the .NET Core Framework(>= v.3.1) is required depending on the installation to run the program. If the framework has not yet been installed, this is indicated at the start.
To use the ORCA functions you need the ORCA DLL, this is automatically installed when you install the Powerbuilder. There is a different DLL for each Powerbuilder version. Usually under “C: \ Program Files (x86) \ Appeon \ Shared \ PowerBuilder \” The versions are supported by the LibBuilder. Further versions can of course be added.
Name | Orca-DLL |
---|---|
PowerBuilder 10.5 | PBORC105.DLL |
PowerBuilder 12.5 | PBORC125.DLL |
PowerBuilder 17.0 | PBORC170.DLL |
PowerBuilder 19.0 | PBORC190.DLL |
The second version of the LibBuilder does not create any additional files, everything is stored in a database. There are only 2 files in the installation directory; The database is located in the roaming directory; „C:\Users\%currentUser%\AppData\Roaming\LibBuilder\libbuilder.db“
Problems with the Powerbuilder can occur while the target is open there.
Success | Error |
---|---|
Multiple procedures can be run at once. All you have to do is select a different target and start the process. The process of the target is added as a further tab.
It can be started from the command line. The order of the parameter specification as well as the upper and lower case is irrelevant.
parameter (short) | parameter (long) | description | type | input |
---|---|---|---|---|
-w | -Workspace | name or path of workspace | string | |
-t | -Target | name or path of target | string | |
-v | -Version | Powerbuilder Version des Workspace | enum | PB105 = 105, PB125 = 125, PB170 = 170, PB190 = 190 |
-b | -Build | build of Librarys | boolean | true oder false |
-r | -Regenerate | regenerate of library-objects | boolean | true oder false |
-l | -Librarys | choices of librarys | list of strings | |
-x | -RebuildType | type of rebuild | enum | PBORCA_FULL_REBUILD = 1, PBORCA_INCREMENTAL_REBUILD = 2, PBORCA_MIGRATE = 3, PBORCA_3PASS = 4 |
Samples:
execute last saved procedure;
libbuilder.exe -w sample.pbw
Full Build of Target „sample.pbt“;
libbuilder.exe -w sample.pbw -t sample.pbt -x 1
regenerate all objects of library „client_1.pbl“ and „client_2.pbl“ of target „sample.pbt“: libbuilder.exe -w sample.pbw -t sample.pbt -r true -l client_1.pbl;client_2.pbl
First time working of a workspace and a complete goal;
libbuilder.exe -w C:\Workspaces\sample.pbw -t C:\sample\sample.pbt -v 170 –r true –b true
show version;
libbuilder.exe --version
show help;
libbuilder.exe --help
application color/theme | process history | AutoUpdater |
---|---|---|