flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carol Frampton <cfram...@adobe.com>
Subject Re: [VOTE] Release InstallApacheFlex 1.0
Date Fri, 31 Aug 2012 18:02:14 GMT

If you are setting an environment variable it should be AIR_HOME, not
env.AIR_HOME. It is env.AIR_HOME within the build.xml file since the build
file loaded the environment variables and prefixed them all with env.

AIR_HOME_MAC is a property local to ant, not an environment variable.  If
the AIR_HOME environment variable is not defined, and you are on a Mac,
build.xml will use that property.

For example on my Mac, I have

/dev/flex/dev$ set | grep AIR_HOME
AIR_HOME='/Users/cframpto/dev/asf_build/air/mac3.1/AIR Integration Kit/'


On 8/31/12 1 :11PM, "Omar Gonzalez" <omarg.developer@gmail.com> wrote:

>> 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
>> 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
>#AIR Locations
># env.AIR_HOME=/Users/grimlock/Downloads/AdobeAIRSDK_3.1
># airHome=/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.
>    [mxmlc] Loading configuration file
>    [mxmlc] Apache Flex Compiler (mxmlc)
>    [mxmlc] Version 4.8.0 build 1359417
>    [mxmlc] Copyright 2012 The Apache Software Foundation.
>    [mxmlc]
>    [mxmlc]
>Error: unable to open '{airHome}/frameworks/libs/air/airglobal.swc'
>    [mxmlc]
>    [mxmlc]       </external-library-path>
>    [mxmlc]

View raw message