The DPP Image Test Title is a smoke test for Magic Lantern. The DPP Image Test Title exercises a simple Digital Playprint containing a Stage, a 2D Set and a Scene that uses an Actor to display an image. This page discusses how to build the title and run it using the Magic Lantern SDK targeting the Java2D platform.
Ant may be used to build the DPP Image Test Title.
The Ant build.xml file has a dependency on Magic Lantern mastering tasks for generating the Digital Playprint. Copy the Magic Lantern codegen Jar to the "lib" directory where Ant has been installed. For example, on a Linux platform:
sudo cp $MLE_ROOT/lib/java/tools/codegen.jar $ANT_HOME/lib
To build the title, do the following:
$ cd $MLE_HOME/Titles/dppTest/java/com.wizzer.mle.title.dpptest
$ ant
This will place the build artifacts (.class files) in the "bin" directory.
A jar package, DppTest.jar, may be created by using the "package" target.
$ cd $MLE_HOME/Titles/dppTest/java/com.wizzer.mle.title.dpptest
$ ant package
The DppTest.jar package will be placed in the "build" directory.
To run the title from a command shell:
$ cd $MLE_HOME/Titles/dppTest/java/com.wizzer.mle.title.dpptest
$ java -jar build/DppTest.jar src/DppImageTest.dpp
Note that the current implementation of the test requires the Digital Playprint to be specifed as a command line argument.