We completely rebuilt our build script, and I got my projects to compile. :-)

I’m not sure why the ant scripts changed so much.

Once I finish cleaning up, I’m going to try and see if I can get asconfigc to 
work correctly.

One weirdness I saw was that the compiler was expecting playerglobal 11.7 even 
though my build script specified 11.1.

I’m not sure why…

Harbs

> On Oct 15, 2017, at 11:03 AM, Harbs <[email protected]> wrote:
> 
> I’m having all kinds of weird errors.
> 
> 1:
> When I try compiling DataBindingExample I get this:
>    [mxmlc] 
> /Users/harbs/Documents/ApacheRoyale/royale-asjs/examples/royale/DataBindingExample/src/main/royale/DataBindingExample.mxml
>    [mxmlc] 0.408848181 seconds
>    [mxmlc] 
> /Users/harbs/Documents/ApacheRoyale/royale-asjs/examples/royale/DataBindingExample/defaults
>  unable to open 
> '/Users/harbs/Documents/ApacheRoyale/royale-asjs/frameworks/flex-config.xml'.
>    [mxmlc] defaults (line: -1)
>    [mxmlc]
> Renaming royale-config.xml to flex-config.xml allows it to compile 
> successfully.
> 
> 2:
> 
> I copied the artifacts to my “nightly” folder and I get this when trying to 
> compile my app:
> build_example.compilejs:
>     [echo] Compiling PortedPrintUI.js
>     [echo] FLEX_HOME: /FlexSDK/FlexJSNightly
>     [echo] FALCONJX_HOME: /FlexSDK/FlexJSNightly/js
>     [echo] env GOOG_HOME: ${env.GOOG_HOME}
>     [echo] GOOG_HOME: /FlexSDK/FlexJSNightly/js/lib/google/closure-library
>     [java] MXMLJSC
>     [java] +flexlib=/FlexSDK/FlexJSNightly/frameworks
>     [java] -debug=true
>     [java] -define=CONFIG::theme,false
>     [java] -compiler.mxml.children-as-data
>     [java] 
> -compiler.binding-value-change-event=org.apache.royale.events.ValueChangeEvent
>     [java] 
> -compiler.binding-value-change-event-kind=org.apache.royale.events.ValueChangeEvent
>     [java] -compiler.binding-value-change-event-type=valueChange
>     [java] 
> -compiler.binding-event-handler-interface=org.apache.royale.events.IEventDispatcher
>     [java] 
> -compiler.binding-event-handler-class=org.apache.royale.events.EventDispatcher
>     [java] 
> -compiler.binding-event-handler-event=org.apache.royale.events.Event
>     [java] +playerglobal.version=11.1
>     [java] 
> +env.PLAYERGLOBAL_HOME=/Users/harbs/Documents/ApacheRoyale/frameworks/libs/player
>     [java] -js-external-library-path+=typedefs
>     [java] -js-library-path+=lib
>     [java] -js-output-optimization=skipAsCoercions
>     [java] -remove-circulars
>     [java] 
> -html-template=/Users/harbs/Documents/git/PrintUI/printui-flexjs/PortedPrintUI/src/resources/mdl-js-index-template.html
>     [java] -targets=JSRoyale
>     [java] -closure-lib=/FlexSDK/FlexJSNightly/js/lib/google/closure-library
>     [java] 
> /Users/harbs/Documents/git/PrintUI/printui-flexjs/PortedPrintUI/src/PortedPrintUI.mxml
>     [java] Missing builtin type Object
>     [java]
>     [java]
>     [java] Unable to build SWF 
> /Users/harbs/Documents/git/PrintUI/printui-flexjs/PortedPrintUI/src/PortedPrintUI.js
> 
> Harbs

Reply via email to