This page discusses how to build the Magic Lantern SDK for Java Standard Edition platforms using Eclipse and Ant.
This section identifies dependencies for building the Magic Lantern SDK.
These instructions assume the following
Set the variable MLE_HOME to reference the home of the Magic Lantern source. This document assumes that it is set to "M:\projects\MagicLantern".
Set the variable MLE_HOME to reference the home of the Magic Lantern source. This document assumes that it is set to "$HOME/projects/MagicLantern".
Set the variable MLE_ROOT to reference the root directory where the Magic Lantern components will be installed. This document assumes that it is set to "M:/projects/MagicLantern".
Note that this variable uses the UNIX-style path delimiter ('/').
Set the variable MLE_ROOT to reference the root directory where the Magic Lantern components will be installed. This document assumes that it is set to "/opt/MagicLantern".
Set the variable MLE_WORKPRINTS to the root directory where Magic Lantern Digital Workprints can be located. This document assumes that it is set to //M/projects/MagicLantern.
The Magic Lantern Studio assumes that the Digital Workprints will be located under the $MLE_WORKPRINTS/workprints directory.
Note that this variable uses a canonical path style for the drive (i.e. //M/).
Set the variable MLE_WORKPRINTS to the root directory where Magic Lantern Digital Workprints can be located. This document assumes that it is set to $HOME/projects/MagicLantern.
This section discusses how to build the Magic Lantern SDK components targeting the Java Standard Edition (J2SE) platform. The Magic Lantern SDK is comprised of the following components:
Component | Description | Location |
---|---|---|
com.wizzer.mle.runtime | The Magic Lantern Runtime Engine | $(MLE_HOME)\Core\mlert\java\com.wizzer.mle.runtime |
com.wizzer.mle.math | The Magic Lantern Math Library | $(MLE_HOME)\Core\math\java\com.wizzer.mle.math |
com.wizzer.mle.parts | The Magic Lantern Core Parts Library | $(MLE_HOME)\Parts\base\java\com.wizzer.mle.parts |
com.wizzer.mle.parts.actors | The Magic Lantern Core Actor Library | $(MLE_HOME)\Parts\actors\java\com.wizzer.mle.parts.actors |
com.wizzer.mle.parts.props | The Magic Lantern Core Property Library | $(MLE_HOME)\Parts\props\java\com.wizzer.mle.parts.props |
com.wizzer.mle.parts.roles | The Magic Lantern Core Role Library | $(MLE_HOME)\Parts\roles\java\com.wizzer.mle.parts.j2d |
com.wizzer.mle.parts.mrefs | The Magic Lantern Core Media Reference Library | $(MLE_HOME)\Parts\mediaref\java\com.wizzer.mle.parts.mrefs |
com.wizzer.mle.parts.sets | The Magic Lantern Core Set Library | $(MLE_HOME)\Parts\sets\java\com.wizzer.mle.parts.sets |
com.wizzer.mle.parts.stages | The Magic Lantern Core Stage Library | $(MLE_HOME)\Parts\stages\java\com.wizzer.mle.parts.stages |
This section describes how to use Eclipse to build the Magic Lantern SDK for the J2SE Platform.
Each component provides an Eclipse project to facilitate building the component in Eclipse. To build a component, use the following instructions:
By default, Eclipse will build the component when the project is imported.
The .jar files can be constructed by using the Eclispe Jar descriptors provided with the above Eclipse projects.
Component | Jar Descriptor | Location |
---|---|---|
com.wizzer.mle.runtime | mlert.jardesc | M:/projects/MagicLantern/lib/runtime/mlert.jar |
com.wizzer.mle.math | mlmath.jardesc | M:/projects/MagicLantern/lib/runtime/mlert.jar |
com.wizzer.mle.parts | parts.jardesc | M:/projects/MagicLantern/lib/runtime/parts.jar |
com.wizzer.mle.parts.actors | actors.jardesc | M:/projects/MagicLantern/lib/runtime/actors.jar |
com.wizzer.mle.parts.props | parts.desc | M:/projects/MagicLantern/lib/runtime/parts.jar |
com.wizzer.mle.parts.roles | roles.desc | M:/projects/MagicLantern/lib/runtime/roles.jar |
com.wizzer.mle.parts.mrefs | mrefs.desc | M:/projects/MagicLantern/lib/runtime/mrefs.jar |
com.wizzer.mle.parts.sets | sets.desc | M:/projects/MagicLantern/lib/runtime/sets.jar |
com.wizzer.mle.parts.stages | stages.desc | M:/projects/MagicLantern/lib/runtime/stages.jar |
The .jar files can be constructed by using the Eclispe Jar descriptors provided with the above Eclipse projects.
Component | Jar Descriptor | Location |
---|---|---|
com.wizzer.mle.runtime | mlert-linux.jardesc | $HOME/projects/MagicLantern/lib/java/mlert.jar |
com.wizzer.mle.math | mlmatht-linux.jardesc | $HOME/projects/MagicLantern/lib/java/mlert.jar |
com.wizzer.mle.parts | partst-linux.jardesc | $HOME/projects/MagicLantern/lib/java/parts.jar |
com.wizzer.mle.parts.actors | actorst-linux.jardesc | $HOME/projects/MagicLantern/lib/java/actors.jar |
com.wizzer.mle.parts.props | partst-linux.desc | $HOME/projects/MagicLantern/lib/java/parts.jar |
com.wizzer.mle.parts.roles | rolest-linux.desc | $HOME/projects/MagicLantern/lib/java/roles.jar |
com.wizzer.mle.parts.mrefs | mrefst-linux.desc | $HOME/projects/MagicLantern/lib/java/mrefs.jar |
com.wizzer.mle.parts.sets | setst-linux.desc | $HOME/projects/MagicLantern/lib/java/sets.jar |
com.wizzer.mle.parts.stages | stagest-linux.desc | $HOME/projects/MagicLantern/lib/java/stages.jar |
This section will describe how to use the Ant build scripts to build the Magic Lantern SDK for the J2SE Platform.