Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Reference

(nextflipdebug5) #1
Setting Up the AIR SDK and Command-Line Tools | 25

TIP
In order to run the command-line tools, you need to copy
only thebin andruntime directories from the SDK.
It’s important that thebinandruntimedirectories within
the SDK maintain their relative paths to each other.

4.At this point, you should have at least the following two
directories:<SDK_Path>/binand<SDK_Path>/runtime.
The ADL and ADT command-line tools are located in
the bin directory.

Placing the Command-Line Tools Within the


System Path


All that’s left is to place the/bindirectory into
your system path, so that you can execute the command line
applications from anywhere on your system.


The instructions for this are different depending on whether
you are on a Mac- or Windows-based system.


Windows


1.Open the System Properties dialog box and click the
Advanced tab. You can find this in the System settings in
the Control Panel.
2.Click the Environment Variables button.
3.Select the PATH entry and then click the Edit button.
Add the path to thebindirectory to the end of the cur-
rent variable value, separating it from previous values
with a semicolon:
;<SDK_Path>/bin
Figure 2-1 shows the process.
4.Click OK to close the panels.
Free download pdf