General Rules for Demos

This document contains the procedures to run an mBS demo as well as the common ways to rebuild it.

Demo Location

The demos of a package are placed in the demo/<package_name> directory where <package_name> is the directory named after the package, for example framework for the Framework Professional Edition Package . If a demo contains bundles, there are located in the demo/bundles folder of the package.

Starting a Demo through an Install Script

This is the easiest way to deploy an mBS demo when it is supplied as a bundle or a set of bundles. The install script handles installation of the demo as well as of all bundles the demo depends on. If some of the components have already been activated, the script will skip them.

The demo's install script is install.txt, located in the demo/<package_name>/<demo_dir> directory where <demo_dir> is the directory of the demo.

There are two ways to invoke an install script:

Rebuilding a Demo

If you changed the source of the demo, you may recompile and repack it by executing the mk script.

The setenv script file in the demo directory serves for tuning the Java environment. You can modify the path contained there so as to lead to the actual location of the executable files of the interpreter, compiler, etc. of the active VM.


Framework Demos