User's Guide
The declaration methods of loaded applications and subapplications can be
modified at any time to correct declaration errors.
Normally an application cannot be loaded if it has declaration
errors. To correct declaration errors in an application that is not
loaded, follow these steps.
- Evaluate EmImageBuilder cancelIfDeclarationErrors:
false. With this option disabled, load operations are not
canceled if declaration errors are encountered.
- To successfully load the application, you may need to temporarily define
and initialize critical variables that are missing or incorrectly specified in
the application's declarations. To accomplish this, do either of
the following:
- Use protocols such as declareVariable: in the Smalltalk
dictionary.
- Create temporary declaration methods in a loaded application.
- Load the application that has declaration errors.
- Correct the errors in the application's declaration methods.
- Remove any temporary declaration methods that were added to make it
possible to load the application that has declaration errors.
- Verify the changes using Make Consistent of the
Applications menu in an Application Manager with the desired
applications selected.
- Re-enable cancelIfDeclarationErrors to ensure that operations
fail if declaration errors are encountered. This ensures that methods
with declaration errors are not released into a configuration.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]