incubator-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:10:44 GMT


On 8/31/12 2 :02PM, "Carol Frampton" <cframpto@adobe.com> wrote:

>Omar,
>
>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/'
>
>
>Carol
>


Alternatively this format can be used to build the installer within the
source (doesn't work for the source kit because of the missing commons
directory).

ant -DAIR_HOME='/Users/cframpto/dev/asf_build/air/mac3.1/AIR Integration
Kit/' -DFLEX_HOME=/Users/cframpto/dev/4.8.0/

Carol

>
>
>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
>>>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
>


Mime
View raw message