Here maybe a clue:
I changed the js-output-type to JSC and I got the following error:
build_example.compilejs:
[echo] Compiling PrintUIManagement.js
[echo] FLEX_HOME: /FlexSDK/FlexJSNightly
[echo] FALCONJX_HOME: /FlexSDK/FlexJSNightly/js
[echo] GOOG_HOME: /FlexSDK/FlexJSNightly/js/lib/google/closure-library
[java] Compiling file: /Users/harbs/Documents/git/printui-desktop/PrintUI
Management HTML/bin/js-debug/PrintUIManagement.js
[java]
java.lang.String.substring(String.java:1927)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.appendEncodedCSS(MXMLFlexJSPublisher.java:420)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:273)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:463)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:321)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:275)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:234)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:178)
On Nov 22, 2016, at 7:54 AM, Alex Harui <[email protected]> wrote:
> Post PrintUIManagement.js. Maybe there is a clue in there.
>
> The only other thing I saw that was strange was a setting of
> -external-library-path=typedefs. I have no idea what that does, but if
> the wrong SWCs are seen as external then there wouldn't be a
> goog.requires. But there still should be some mention of
> SimpleCSSValuesImpl in the MXML data structure.
>
> -Alex
>
> On 11/21/16, 9:50 PM, "Harbs" <[email protected]> wrote:
>
>> No mention at all.
>>
>> On Nov 22, 2016, at 6:58 AM, Alex Harui <[email protected]> wrote:
>>
>>> What's in the rest of the PrintUIManagement.js? Does it mention
>>> SimpleCSSValuesImpl but no requires for it?
>>>
>>> -Alex
>>>
>>> On 11/21/16, 1:45 PM, "Harbs" <[email protected]> wrote:
>>>
>>>> http://pastebin.com/R1H43Qrr
>>>>
>>>> Here’s the requires:
>>>> goog.provide('PrintUIManagement');
>>>> goog.require('org.apache.flex.utils.EffectTimer');
>>>> goog.require('org.apache.flex.core.SimpleStatesImpl');
>>>> goog.require('org.apache.flex.core.Application');
>>>>
>>>> On Nov 21, 2016, at 11:41 PM, Alex Harui <[email protected]> wrote:
>>>>
>>>>>
>>>>>
>>>>> On 11/21/16, 1:23 PM, "Harbs" <[email protected]> wrote:
>>>>>
>>>>>> SimpleCSSValuesImpl.js is not in the output folder at all.
>>>>>>
>>>>>> In fact, I’m not getting Button.js either, but I am getting
>>>>>> TextArea.js
>>>>>> and Container.js.
>>>>>>
>>>>>> Really odd...
>>>>>
>>>>> Post the entire console output. Are you trying to use the CoreJS.swc?
>>>>> It
>>>>> won't have the JS files in it.
>>>>> What is on the goog.requires for the main JS file? It should mention
>>>>> Button and SimpleCSSValuesImpl along with Container and TextArea.
>>>>>
>>>>> -Alex
>>>>>
>>>>
>>>
>>
>