My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Configuration  
Configuration settings
Featured, Phase-Deploy
Updated Oct 8, 2007 by s.wil...@yahoo.com

Configuration settings are managed in an XML file called controller.exe.config. It can be found in the application's install folder. For the time being, the easiest way to edit the file is by using your favorite text editor.

The section which pertains to the operation of the application is labeled:

<controller type="Controller.Controllers.EventController">
...
</controller>

Inside the controller block are a number of module blocks. Each module block then contains a number of setting nodes. For example, the HttpElementLoader module's configuration looks like:

<module enabled="true" type="Controller.Modules.HttpElementLoader" name="HttpElementLoader">
    <setting name="MaxCacheAge" value="3.00:00:00"/>
    <setting name="Url" value="http://www.celestrak.com/NORAD/elements/amateur.txt"/>   
    <setting name="Url" value="http://www.celestrak.com/NORAD/elements/noaa.txt"/>
</module>
  • A module may be temporarily disabled by setting enabled="false". It may be permanently disabled by removing it from the config file.
  • The type attribute specifies the actual class name of the module
  • The name attribute must be unique, even when multiple modules of the same type are loaded.

Editing the file requires restarting the application for the changes to take effect. Each module's specific configuration settings are discussed in their respective module page.


Sign in to add a comment
Powered by Google Project Hosting