Skip to content

mmbase/didactor

Repository files navigation

DIDACTOR 2.3

This is the Didactor 2.3 distribution, released on .....

Didactor is released as a bunch of war overlays, plus a 'distro' which combines some of them into an
actual example war. Every war overlay represents one Didactor 'component' and/or MMBase components.

Note: use Maven 2.1

=== NORMAL BUILD ===

To build the didactor distro, do the following:
- type:
    mvn

This results in a war in distro/target (and in your maven repository).

This war can be deployed and configured like an mmbase war. E.g. the database may be configured in
the 'context xml'.

TODO: Perhaps look into jetty:run and tomcat:run for a fully fledged running example.

=== CUSTOM BUILD ===

- Take the distro/pom.xml as an example, and make something like that for your own site.

- For more complicated sites, with customized 'components' and perhaps 'providers' you can also take
  pom.xml in this directory as an example, and a make a build with more stages.


Didactor support 'tree-including' to override virtually any JSP in the components with your own
ones, based on 'providers' and 'educations'.

This can be built using normal maven conventions too:
E.g.:
michiel@mitulo:~/vu/didactor/trunk/providers/vu$ tree -d
.
`-- src
    `-- main
        `-- webapp
            |-- WEB-INF
            |   `-- config
            |       |-- applications
            |       |   |-- Aoc
            |       |   |-- Fobieen
            |       |   `-- Vu
            |       `-- utils
            `-- vu
                |-- aoc
                |   |-- assessment
                |   |-- cockpit
                |   |-- css
                |   `-- img
                |-- aoc_a
                |   |-- assessment
                |   |-- cockpit
                |   |-- css
                |   `-- img
                |-- cockpit
                |-- core
                |   `-- js
                |-- css
                |-- editwizards
                |   `-- assignments
                |-- education
                |   `-- wizards
                |       |-- modes
                |       |   |-- homework
                |       |   `-- repository
                |       |-- new
                |       `-- show
                |-- errorpages
                |-- faq
                |   `-- frontoffice
                |-- fobieen
                |   |-- cockpit
                |   |-- css
                |   `-- img
                |-- gfx
                |-- img
                |-- kupu
                |-- login
                |-- lumen
                |-- mindfulness
                |   |-- cockpit
                |   |-- css
                |   `-- img
                |   `-- style
                |       `-- images
                |-- ms
                |   |-- cockpit
                |   |-- css
                |   |-- img
                |   `-- login
                |-- portalpages
                `-- shared


here for  provider 'vu' and several educations all kind of stuff is overrriden.
This is build as a war overlay and included in the 'vu' didactor distro, together with a selection
of the didactor overlays.