wiki:PLUGIN_EDITIONS_STRUCTURE

Version 7 (modified by pavlina, 13 years ago) (diff)

--

The edition structure for the Sophie 2.0 will be three modules:

  • org.sophie2.author
  • org.sophie2.reader
  • org.sophie2.server

which contain:

  • For now - Fake main class for running the project in Eclipse
  • Activator class for running the project with Felix framework

and must depend on the modules(may be transitive), created for the edition they represent.

For now we have org.sophie2.author module for Sophie Author edition:

  • the dependencies for the module are in pom.xml file - dependencies section.
  • in the package are Activator and FakeAuthorMain classes.
    • FakeAuthorMain starts our module registry for the modules and calls the old main method.
    • 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.