Changes between Version 7 and Version 8 of PLUGIN_EDITIONS_STRUCTURE


Ignore:
Timestamp:
10/22/08 13:56:29 (13 years ago)
Author:
pap
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PLUGIN_EDITIONS_STRUCTURE

    v7 v8  
    1 The edition structure for the Sophie 2.0 will be three modules: 
     1Sophie 2.0 consists of three editions(plug-in sets): 
    22 * org.sophie2.author 
    33 * org.sophie2.reader 
    44 * org.sophie2.server 
    5 which contain: 
    6  * For now - Fake main class for running the project in Eclipse 
    7  * Activator class for running the project with Felix framework 
    8 and must depend on the modules(may be transitive), created for the edition they represent.[[BR]] 
    95 
    10 For now we have org.sophie2.author module for Sophie Author edition: 
    11  * the dependencies for the module are in pom.xml file - dependencies section. 
    12  * in the package are [source:/trunk/sophie2-platform/modules/org.sophie2.author/src/main/java/org/sophie2/author/Activator.java Activator] and [source:/trunk/sophie2-platform/modules/org.sophie2.author/src/main/java/org/sophie2/author/FakeAuthorMain.java FakeAuthorMain] classes.  
    13   * !FakeAuthorMain starts our module registry for the modules and calls the old main method. 
    14   * The Activator implements osgi !BundleActivator and is for starting and stoping the author module. In our case this means starting and stoping the whole Author Application. 
     6Each edition is runnable through: 
     7 * Eclipse, using some fake classes that simulate plug-in behavior 
     8 * Apache Felix OSGI implementation. 
     9 
     10Every edition has the following structure: 
     11 * / - main application catalog 
     12  * /modules/  - containes plug-ins(in the form of jar-files or unpacked jar-files) that are/can be used in this edition 
     13  * /conf/ - contains plug-ins configuration files and global configuration files 
     14  * /log/ - contains application log(s) 
     15  * /data/ - contains mutable resources(i.e book templates). 
     16  * run-files 
     17 
     18At this time each edition has its own module. It is responsible for loading the correct set of plug-ins.