Package Magic Lantern Java2D Studio - magic-lantern-studio/mle-documentation GitHub Wiki
This page describes how to create a Eclipse product for Magic Lantern Java2D Studio
Table of Contents
Overview
A distributable package for the Magic Lantern Java2D Studio IDE may be created by using the java2dstudio.product definition found in the com.wizzer.mle.studio.java2d.branding plugin.
Bring up the product wizard by double-clicking on the file in the Package Explorer. Select the Eclipse Product export wizard link found in the Exporting section of the java2dstudio.product wizard. Use the wizard to package and export the product defined by this configuration.
:information_source: Note: For Linux packaging, use the java2dstudio-linux.product definition.
Resources
A good tutorial on how to create an Eclipse product can be found at Eclipse product and application deployment - Tutorial. This tutorial also identifies the information contained in the product wizard tabs.
Export Eclipse Product
The following figure shows the dialog used to generate a Magic Lantern Java2d Studio Eclipse product.
Figure 1: Eclipse product dialog
The product will be created in the root directory, MagicLantern, in the destination directory, /home/msm/Projects/MagicLanternStudio/build/InstallBuilder/Java2D/stage.
:information_source: Note: Change the destination directory to one that is local on your development platform.
The destination directory will contain three main artifacts when the build is complete:
Artifact | Description |
---|---|
logs.zip | A zip file containing logs that were generated while creating the product. |
MagicLantern | The root directory for the product. |
repository | The directory containing the generated (p2) update site. |
The generated executable for the product will be found in the MagicLantern directory. It is named mlestudio.
Run mlestudio
To execute the Magic Lantern Java2D Studio IDE, start the studio from the command line.
cd /home/msm/Projects/MagicLanternStudio/build/InstallBuilder/Java2D/stage/MagicLantern
./mlestudio
Make sure that $MLE_ROOT/bin (i.e. /opt/MagicLantern/bin) is in your PATH so that the mastering tools can be found.
:information_source: Note: Selecting mlestudio from the File Browser may not work since $MLE_ROOT/bin may not be in the PATH variable when launching the product this way.