Occasionally you may need to update library entries. For example:
-
When a PowerBuilder developer modifies a form style using a window in imstyletradition.pbl or imstylecontemp.pbl, the developer is modifying an ancestor object and you should regenerate forms (the descendants) so that they pick up the revisions to their ancestor.
-
When you make extensive changes to objects, you can rebuild entire libraries so that objects are regenerated sequentially based on interdependence.
-
When you upgrade to a new version of InfoMaker, you need to migrate your objects.
When you regenerate an entry, InfoMaker recompiles the source form stored in the library and replaces the existing compiled form with the recompiled form.
To regenerate library entries:
-
Select the entries you want to regenerate.
-
Click the Regen button, or select Entry>Regenerate from the menu bar.
InfoMaker uses the source to regenerate the library entry and replaces the current compiled object with the regenerated object. The compilation date and size are updated.
When you make modifications to objects and need to update one or more libraries, you should use the Rebuild option to update all the library objects in the correct sequence.
There are two methods to use when you rebuild an application:
-
Incremental rebuild updates all the objects and libraries referenced by any objects that have been changed.
-
Full rebuild updates all the objects and libraries.
When you upgrade to a new version of InfoMaker, your existing libraries need to be migrated to the new version.
Make sure PBLs are writable
If you make copies of your libraries before you migrate to a new version of InfoMaker, make sure that the libraries you will migrate are writable.
Your libraries must be migrated one at a time since a library must be the current library for you to migrate it.