Difference between revisions of "ConfigurationCompilerLibrary"

(check modified)
Line 1: Line 1:
 
[[Category:Configuration]]
 
[[Category:Configuration]]
{{cleanup}}
 
 
*if config file changed
 
*if config file changed
 
**if configuration group equivalent with old (no changes of the cluster/library/assembly/override structure)
 
**if configuration group equivalent with old (no changes of the cluster/library/assembly/override structure)
Line 14: Line 13:
  
 
=== set options ===
 
=== set options ===
 +
{{Class|CONF_RECOMPUTE_OPTIONS}}
 +
 
Set the options from the newly parsed configuration to the old configuration system.
 
Set the options from the newly parsed configuration to the old configuration system.
  
 
=== check modified ===
 
=== check modified ===
Check for compiled classes that have been modified. And also check for classes added in override clusters.
+
{{Class|CONF_MODIFIED_VISITOR}}
 +
 
 +
Check for compiled classes that have been modified. In addition, check for classes added in override clusters and renamed classes which forces a rebuild.
  
 
=== rebuild ===
 
=== rebuild ===
 +
{{Class|CONF_BUILD_VISITOR}}
 +
 
Build or rebuild the whole information, if possible try to reuse class objects from the old configuration system.
 
Build or rebuild the whole information, if possible try to reuse class objects from the old configuration system.

Revision as of 10:02, 6 September 2006

  • if config file changed
    • if configuration group equivalent with old (no changes of the cluster/library/assembly/override structure)
      • set options
      • check modified
    • else
      • rebuild
  • else
    • check modified
  • if error like class not found that could be solved by rebuild
    • rebuild

set options

CONF_RECOMPUTE_OPTIONS

Set the options from the newly parsed configuration to the old configuration system.

check modified

CONF_MODIFIED_VISITOR

Check for compiled classes that have been modified. In addition, check for classes added in override clusters and renamed classes which forces a rebuild.

rebuild

CONF_BUILD_VISITOR

Build or rebuild the whole information, if possible try to reuse class objects from the old configuration system.