The Apollo SDK provides the following command-line tools:
A command-line wrapper for the MXMLC compiler that configures the compiler to use Apollo classes.
Use this tool to launch and test an Apollo application without having to install it.
Use this tool to package an Apollo application into a redistributable AIR file.
These tools are also available in the Apollo Extensions for Flex Builder. They are installed in the bin subdirectory.
This Appendix lists the options for each of the command-line tools.
For an example of using these tools, see Chapter 2.
AMXMLC is a simple wrapper for the MXMLC Flex compiler, which links in the appropriate Apollo-specific libraries.
Usage is the same as MXMLC:
This shell script is included in the bin directory of the Apollo SDK directory.
The first argument passed to the compiler is the location of the MXML file to compile (myTestApp.mxml in the previous example).
There are a number of other options for the MXMLC compiler. For details on these, see:
ADL is a command-line tool that launches an Apollo application, based on it’s application.xml file, without requiring that the application be installed. This is useful for testing and debugging the application.
Typically, you want to call the ADL tool passing one parameter: the path to the application descriptor file (the application .xml file):
adl application.xml ...