Changes between Version 28 and Version 29 of GROUP_PLUGINS_ENABLE_DISABLE_R0


Ignore:
Timestamp:
07/23/09 17:15:28 (16 years ago)
Author:
deyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_PLUGINS_ENABLE_DISABLE_R0

    v28 v29  
    8787 
    8888= Implementation = 
    89 ^(Describe and link the implementation results here (from the wiki or the repository).)^ 
     89Diffs from the design: 
     90 * Fake module registry implementation was not done because of the low priority of working config palette under fake launch. 
     91 * The started modules are started in Main not in TrueModuleRegistry. They are loaded in the config felix map. 
     92 * Flags 'started' or 'stopped' are added in the config files - they show if particular module has to be started or not started when felix is launching. The config files are moved in the org.sophie2.launcher module in the resources. 
     93 * ModuleInfo class is created - there all the pom.xml files(get from FileEntryManager findPomFromUrl() newly implemented method) are parsed and the information about each module is extracted (name, moduleId, description, dependencies, moduleUrl, activator). 
     94 * In TrueModuleRegistry the following methods are added: 
     95  * constructKnownModules - fills the known modules list property when initializing the TrueModuleRegistry, which are all the sophie modules (all modules in the bundles file),   
     96  * constructFileLines - reads from the config file and parses its lines, fills the configFileLines property, which helps in the implementation of startedModules, setEnabled and setDisabled methods. Again called during the TrueModuleRegistry initialization. 
     97  * isEnabled(moduleId) - checks if module with this moduleId is already enabled. 
     98 * File entry manager is refactored, a lot of ugly things are removed but some of them stay for now.. Their cleaning will be part of the deployment task. 
     99  * system property is added - sophie2.development - it is true if sophie2 is launched through true or fake launchers but under Eclipse, false otherwise. It is set in the launcher and is very clever Vlado's idea.  
     100 
     101One of the known bugs here is that the buttons are not with LogicR3 because of the very slow implementation of the task and are very ugly. I'm not going to fix them now and this is already part of the UI refactoring:). [[BR]] 
     102 
     103Other interesting bug is that file entry manager creates two distrib directories in the launcher module for the logger. Will be fix in the group deployment.  
     104 
     105Revisions: [2993], [3646], [2648], [4236], [4272], [4353], [4354], [4356], [4400] (only fix here and trunk merging it's my fault), [4466] 
     106 
     107Note: the review of this implementation must be done in parallel with java web start because of the file entry manager fixing that is not working with only one of the tasks.. so in the revisions there are fixes about java web start too. 
    90108 
    91109= Testing =