141
APPENDIX AAPPENDIX A
AIR Command-Line Tools
The AIR SDK provides the following command-line tools:
ADL
Use this tool to launch and test an AIR application with-
out having to install it.
ADT
Use this tool to package an AIR application into a redis-
tributable AIR file.
This Appendix lists the options for each of the command-line
tools.
For an example of using these tools, see Chapter 2.
ADL
ADL is a command-line tool that launches an AIR applica-
tion, based on its application descriptor file, without requir-
ing that the application be installed. This is useful for testing
and debugging the application.
Typically, you want to call the ADL tool passing one parame-
ter: the path to the application descriptor file (the applica-
tion.xml file):
adl application.xml
The full syntax of the ADL command is:
adl ( -runtime <path-to-runtime-dir> )? <path-to-app-xml>
<path-to-root-dir>? ( -- ... )?