wiki:PLATFORM_STRUCTURE

Version 16 (modified by todor, 16 years ago) (diff)

--

Platform Structure

Development Structure

  • These folders are stored in the Repository:
/trunk/sophie2-platform
/trunk/sophie2-platform/.settingssophie2-platform project settings configurations for Eclipse
/trunk/sophie2-platform/dev-toolscontains files that are used to run the whole project.
/trunk/sophie2-platform/dev-tools/eclipse-templatescontains useful templates for eclipse.
/trunk/sophie2-platform/doccontains files that are part of different project documents (wiki pages, documentation)
/trunk/sophie2-platform/doc/uml-design-diagramscontains the designed UML diagrams for Sophie components.
/trunk/sophie2-platform/doc/spec_diagramscontains UI diagrams for the specification.
/trunk/sophie2-platform/oldcontains our progress until 07.2008, before module decomposition
/trunk/sophie2-platform/modules
  • Each module in /modules has the following structure
/trunk/sophie2-platform/modules/org.sophie2.*/
/trunk/sophie2-platform/modules/org.sophie2.*/.settingsproject settings configurations for Eclipse. They must be synchronized with the sophie2-platform project settings
/trunk/sophie2-platform/modules/org.sophie2.*/targetcontains compiled classes
/trunk/sophie2-platform/modules/org.sophie2.*/srccontains sources and configuration files
/trunk/sophie2-platform/modules/org.sophie2.*/src/test/javacontains unit tests
/trunk/sophie2-platform/modules/org.sophie2.*/src/test/resourcescontains unit tests' tools (scripts, documentation, needed files for the tests)
/trunk/sophie2-platform/modules/org.sophie2.*/main
/trunk/sophie2-platform/modules/org.sophie2.*/main/resourcescontains the resources which the module uses
/trunk/sophie2-platform/modules/org.sophie2.*/main/java
/trunk/sophie2-platform/modules/org.sophie2.*/main/java/org
/trunk/sophie2-platform/modules/org.sophie2.*/main/java/org/sophie2contains application sources

except author module, which don't need test section.

Runtime Structure

  • For each module when built with maven a target folder is created, which has the following structure
/classes
/classes/META_INFcontains meta information that is needed for the .jar file to be executed
/classes/org/sophie2/[module_name]contains the compiled source classes
/classes/[contents of /src/main/resources]contains needed resources
/test-classesincludes copies of the compiled tests
/distribcontains the files that will be copied on the user's machine during the setup process and will be enough for the project to be completely functional