You need ROYALE_HOME for the royale-asjs repo.

The new environment var for the compiler is: ROYALE_COMPILER_REPO

I’m pretty sure those are the only two you need.

FWIW, my script to set my env vars looks like this (although much of it is 
probably no longer needed or correct).

#!/bin/sh

export ROYALE_COMPILER_REPO=/Users/harbs/Documents/ApacheRoyale/royale-compiler
export FLEXUNIT_HOME=/Users/harbs/Documents/ApacheRoyale/flex-flexunit
export FLEX_HOME=/Users/harbs/Documents/ApacheRoyale/flex-sdk 
export AIR_HOME=/Users/harbs/Documents/ApacheRoyale/frameworks/AIRSDK_Compiler
export 
PLAYERGLOBAL_HOME=/Users/harbs/Documents/ApacheRoyale/frameworks/libs/player 
export 
FLASHPLAYER_DEBUGGER=/Users/harbs/Documents/ApacheRoyale/frameworks/Flash\ 
Player\ Debugger.app/Contents/MacOS/Flash\ Player\ Debugger
export FLEXJS_HOME=/Users/harbs/Documents/ApacheRoyale/royale-asjs
export 
FALCONJX_HOME=/Users/harbs/Documents/ApacheRoyale/royale-compiler/compiler-jx
export FLEXJS_TYPEDEFS_HOME=/Users/harbs/Documents/ApacheRoyale/royale-typedefs
export 
GOOG_HOME=/Users/harbs/Documents/ApacheRoyale/frameworks/google/closure-library

export ROYALE_HOME=/Users/harbs/Documents/ApacheRoyale/royale-asjs

> On Nov 8, 2017, at 12:29 PM, Erik de Bruin <[email protected]> wrote:
> 
> Hi,
> 
> I'm still frustrated that not all tests on compiler are passing for me. I
> think this may revolve around the various framework builds and environment
> vars...
> 
> When I set FLEX_HOME to my asjs git repo that I have built with 'ant all',
> I get a lot of errors saying:
> 
> <
> unable to open
> '/Users/erik/Documents/git/royale-asjs/frameworks/libs/framework.swc'.
> unable to open
> '/Users/erik/Documents/git/royale-asjs/frameworks/locale/en_US/framework_rb.swc'.
>> 
> 
> If I point FLEX_HOME to pre-built nightly of the asjs framework, I get
> different errors:
> 
> <
> unknown configuration variable 'compiler.targets'.
> /Users/erik/Documents/Royale/apache-royale-0.9.0-bin/frameworks/royale-config.xml
> (line: 33)
>> 
> 
> If I point FLEX_HOME to a release of the flex framework, I a lot of these
> errors:
> 
> <
> unable to open
> '/Users/erik/Documents/Royale/apache-flex-sdk-4.16.0-bin/frameworks/royale-config.xml'.
>> 
> 
> What am I doing wrong? Can the folks that have all tests passing on the
> 'royale-compiler/compiler' project maybe share their setup and settings?
> 
> Thanks,
> 
> EdB
> 
> 
> 
> -- 
> Ix Multimedia Software
> 
> Jan Luykenstraat 27
> 3521 VB Utrecht
> 
> T. 06-51952295
> I. www.ixsoftware.nl

Reply via email to