I’m not sure why you’re getting that error.
Maybe there’s some env variable not set correctly.

FWIW, here’s the script I run to set my env variables prior to building using 
ant:

#!/bin/sh

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


> Not really an issue here - but I believe overflow = “hidden” then overflowX = 
> ‘auto’ is more browser compatible.

Possibly. Feel free to improve on my code… ;-)

> On Feb 26, 2017, at 12:06 PM, Justin Mclean <jus...@classsoftware.com> wrote:
> 
> Hi,
> 
> Thanks Harbs for that.
> 
> I must have something wrong with my set up as I get this when I try to 
> compile:
> [INFO] Executing COMPC in tool group FlexJS with args: 
> [-load-config=/Users/justinmclean/flex-asjs/frameworks/projects/HTML/target/compile-js-config.xml,
>  -js-output-type=FLEXJS, -compiler.strict-xml=true]
> /Users/justinmclean/flex-asjs/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/HScrollingViewport.as(56):
>  col: 55 Access of possibly undefined property overflowX through a reference 
> with static type CSSStyleDeclaration.
> 
>          (contentView.element as HTMLElement).style.overflowX = 'auto’;
> 
>> 
>>          (contentView.element as HTMLElement).style.overflow = '';
>>          (contentView.element as HTMLElement).style.overflowX = 'auto';
>>          (contentView.element as HTMLElement).style.overflowY = 'hidden’;
> 
> Not really an issue here - but I believe overflow = “hidden” then overflowX = 
> ‘auto’ is more browser compatible.
> 
> Thanks,
> Justin

Reply via email to