>
> The way the build.xml is set up you just need to define the environment
> variables FLEX_HOME and AIR_HOME.  If it finds those in the environment it
> uses them.
> If not it uses FLEX_HOME from build.properties and AIR_HOME_WIN or
> AIR_HOME_MAC, depending on OS, from build.properties.
>
> Alternatively you can specify properties on the ant command line like
>         ant -DFLEX_HOME=/path/to/flex/sdk
>
> Carol
>
>
I tried setting both AIR_HOME_MAC and env.AIR_HOME, both isolated and both
at the same time, but I still can't get the installer to compile. I have
those in build.properties in the Apache Flex Installer source. They are
pointing to AIR SDK 3.1 that I just downloaded from Adobe's site last night.

#AIR Locations
# env.AIR_HOME=/Users/grimlock/Downloads/AdobeAIRSDK_3.1
AIR_HOME_WIN=${FLEX_HOME_WIN}
# airHome=/Users/grimlock/Downloads/AdobeAIRSDK_3.1
AIR_HOME_MAC=/Users/grimlock/Downloads/AdobeAIRSDK_3.1


Below is the output, I'm not quite sure where else to try and add this AIR
SDK path.

compile:
    [mxmlc] Loading configuration file
/Users/grimlock/Downloads/apache-flex-sdk-4.8.0-incubating-bin/frameworks/air-config.xml
    [mxmlc] Apache Flex Compiler (mxmlc)
    [mxmlc] Version 4.8.0 build 1359417
    [mxmlc] Copyright 2012 The Apache Software Foundation.
    [mxmlc]
    [mxmlc]
/Users/grimlock/Downloads/apache-flex-sdk-4.8.0-incubating-bin/frameworks/air-config.xml(64):
Error: unable to open '{airHome}/frameworks/libs/air/airglobal.swc'
    [mxmlc]
    [mxmlc]       </external-library-path>
    [mxmlc]

-omar

Reply via email to