Application Start
Table of Contents

Application Startup can be quite a pain to debug. Here are some information to help…

Config

ACE

You need to define the ACE twice. Once in the smallworld_product.register_application() and in the config.xml. Examples:

smallworld_product.register_application( :my_application,
                     :application,
                     :external_name,        "My Application",
                     :resource_module_name, :my_app_module,
                     :ace_name, :|MyAce|,                    
                     :soc_name, :gis)
   <framework_data>
     <!--   specify which ACE to use to view each spatial_context type  
     --> 
     <spatial_context name="gis" ace_name="MyAce" universe_name="gis" /> 
   </framework_data>

Messages

The messages are based on the module name. In the example above, any application messages would be in the my_app_module.msg file.

Errors

:condition_raised :does_not_understand :object unset :selector :|make_invisible()| :arguments sw:simple_vector:[1-0] :iterator? False :private? False

Caused by not having the following defined in gui.xml (editor area), but the plugin is defined in config.xml.
<plugin plugin_name="transaction_plugin" role="transaction_viewer"/>

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License