wiki:APP_PLUGIN_STARTUP_R0

Version 9 (modified by pavlina, 17 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Analysis

Overview

  • The app plug-in is the main plug-in of Sophie 2.0.
  • It actually starts the application.
  • It is used in all editions of Sophie 2.0.
  • It is responsible for configuration reading and loading of other parts of the application.

Task requirements

  • Extract a module containing the startup code.
  • The module must be usable by all editions of Sophie 2.0 (loadable by OSGI)
  • Make sure that it is used in already defined Sophie 2.0 editions.
  • It should read configuration files.

Task result

The result of this task is source code.

Implementation idea

  • Make a new module containing the Main class.

PLUGIN_EDITIONS_STRUCTURE_R0
PLUGIN_EDITIONS_STRUCTURE_R1

How to demo

  • Show what's done during startup
  • Show how the plug-in is used in different editions.

Design

  • make a new module with name org.sophie2.launcher for example
  • it must have Main class which runs various editions depends on given command line arguments
  • the default edition must be the author edition

Implementation

(Implementation results should be described and linked here (from the wiki or the repository)

Testing

Comments

Log

Error: Macro Include(wiki:APP_PLUGIN_STARTUP_R0_LOG) failed
current transaction is aborted, commands ignored until end of transaction block