Difference between revisions of "ConfigurationCompilerLibrary"

(rebuild)
 
(5 intermediate revisions by the same user not shown)
Line 13: 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.
+
{{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.
 +
 +
{{Class|CONF_CONSUMER_MANAGER}}
 +
Is created and called by {{Class|CONF_BUILD_VISITOR}} and deals with (re)building/(re)consuming types of assemblies.
 +
Assemblies are only partially consumed and if types of an assembly are actually used they are later fully consumed in degree 5 which calls the CONF_CONSUMER_MANAGER again.

Latest revision as of 12:35, 9 November 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.

CONF_CONSUMER_MANAGER Is created and called by CONF_BUILD_VISITOR and deals with (re)building/(re)consuming types of assemblies. Assemblies are only partially consumed and if types of an assembly are actually used they are later fully consumed in degree 5 which calls the CONF_CONSUMER_MANAGER again.