wiki:PLUGIN_DECOMPOSITION_R0

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

--

Analysis

Overview

Decomposition to plug-ins of Sophie 2 is one of the most important things to do for the project. There should be base modules and integration of the existing code with JPF library. Keep in mind that modules and plug-ins are the same thing in this case.

Task requirements

  • think about initial plug-in decomposition
    • decompose to base modules and in which each class goes
    • integrate the JPF library in the project so it can run through JPF which activate the current plug-ins

Task result

New project structure, boot.properties file

Implementation idea

  • use the work breakdown structure to decompose the modules
  • see how JPF can run and be integrated with Maven
    • new run configuration
    • Maven JPF Plugin

componentDiagram.vpp

How to demo

Show the project with the new plug-ins which runs using JPF library.

Design

  • decompose the project in three modules (now we have only messy module which is not plug-in)
    • base
    • core
    • messy
  • see dev_doc diagrams, especially componentDiagram.vpp (Revision 17)
  • see work breakdown structure file
  • use the gathered information to allocate the classes to the modules
  • use Maven JPF Plugin to integrate the JPF in Maven
  • make new run configuration to run the project using JPF
  • make boot.properties file. See http://jpf.sourceforge.net/tutorial.html

Implementation

Testing

Log

  • Analyzing : Deyan, Pacitu - 45 min
  • Analyzing Refactor : Pavlina - 45 mins
    • Review: 3.5 by Tanya - 30 min
  • Designing : Pavlina - 60 mins
    • Review: 3 by Tanya - 10 min
  • Implementing : Pavlina - 7d
    • Review : Peko - 4 - 10 mins 3.5 because of the fast switching from JPF to Apache Felix
  • Testing :