flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: FlexJS Environment variable
Date Wed, 23 Dec 2015 15:12:44 GMT

On 12/23/15, 1:00 AM, "kinjal patel" <kinjalpatel3983@gmail.com> wrote:
>I have another problem to create javascript from mxmlc using FlexJS sdks.
>For that first i set FLEX_HOME and FALCON_HOME using export command
>after that i pass "/Users/kinjal/Documents/FlexSDKs/FlexJS\
>in terminal and i am getting error
>Using Falcon codebase: /Users/kinjal/Documents/FlexSDKs/FlexJS 0.5.0
>Using Flex SDK: /Users/kinjal/Documents/FlexSDKs/FlexJS 0.5.0
>Error: Unable to access jarfile /../lib/mxmlc.jar
>I have checked that the SCRIPT_HOME variable is set to null when the path
>sdks has space.How to set SCRIPT_HOME or pass value from terminal to set
>SCRIPT_HOME in mxmlc file.

Try editing mxmlc so the SCRIPT_HOME is set like this:

SCRIPT_HOME=`dirname "$0"`

If that works we'll make the changes to the scripts for the future.


View raw message