It is better to compile all tree repos when facing an issue about the asjs repo, you are right. I have the scripts for all thanks Carlos.

9.02.2019 23:05 tarihinde Carlos Rovira yazdı:
I pass all days a script that build the three repos and create a valid SDK with the latest code in royale-asjs to be used in IDEs. I recommend you to do this. Greg and I shared windows and macOS versions that you could adapt to your environment. If you don't find and are interested let me know

El sáb., 9 feb. 2019 a las 20:33, Alex Harui (<[email protected] <mailto:[email protected]>>) escribió:

    Or, if the framework doesn’t build, the first thing I then do is
    build the compiler (and typedefs).

    *From: *Harbs <[email protected] <mailto:[email protected]>>
    *Reply-To: *"[email protected]
    <mailto:[email protected]>" <[email protected]
    <mailto:[email protected]>>
    *Date: *Saturday, February 9, 2019 at 11:32 AM
    *To: *"[email protected] <mailto:[email protected]>"
    <[email protected] <mailto:[email protected]>>
    *Subject: *Re: royale-asjs can not build.

    Most of the time, it’s not necessary to rebuild the compiler.

    The two cases where you need to:

    1. The Framework uses a new compiler feature. (such as this case)

    2. You need a compiler fix for an issue effecting you.

        On Feb 9, 2019, at 9:27 PM, Piotr Zarzycki
        <[email protected] <mailto:[email protected]>>
        wrote:

        Serkan,

        You can subscribe to commits mailing list. - I think it's
        possible for anyone?

        Than you will know when someone push something to compiler. :)
        It allows you to avoid such issues.

        Thanks,

        Piotr

        On Sat, Feb 9, 2019, 7:15 PM Serkan Taş
        <[email protected]
        <mailto:[email protected]>> wrote:

            Thanks harbs, it is really hard to decide to compile all
            tree repos or the one I need :)

            Android için Outlook
            
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Caharui%40adobe.com%7Cc90521198d3c40566af408d68ec54bc5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636853375383549258&sdata=%2FIc5zVhGCYdx6gykBQxC8l1vmYkIE7A3V0nN1P%2FkEok%3D&reserved=0>'u
            edinin



            On Sat, Feb 9, 2019 at 9:11 PM +0300, "Harbs"
            <[email protected] <mailto:[email protected]>> wrote:

                You need to rebuild the compiler too.

                    On Feb 9, 2019, at 7:34 PM, Serkan Taş
                    <[email protected]
                    <mailto:[email protected]>> wrote:

                    Hi,
                    While trying to compile the project with ant, it
                    fails. Here is the end of the output :

                    compile-swf:
                         [echo] Compiling libs/MXRoyale.swc
                         [echo] ROYALE_HOME:
                    D:\dev\royale-emulation-works\github\royale-asjs
                         [echo] ROYALE_SWF_COMPILER_HOME:
                    D:\dev\royale-emulation-works\github\royale-asjs
                         [echo] ROYALE_COMPILER_HOME:
                    D:\dev\royale-emulation-works\github\royale-asjs/js
                         [java] args:
                         [java]
                    
+royalelib=D:\dev\royale-emulation-works\github\royale-asjs/frameworks
                         [java] +playerglobal.version=11.1
                         [java]
                    
+env.AIR_HOME=D:\dev\royale-emulation-works\github\AIRSDK_Compiler
                         [java] -compiler.strict-xml=true
                         [java] -compiler.targets=SWF,JSRoyale
                         [java] -compiler.define+=GOOG::DEBUG,true
                         [java]
                    -compiler.define+=ROYALE::DISPLAYOBJECT,DisplayObject
                         [java]
                    
-output=D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale/target/MXRoyale.swc
                         [java]
                    
-load-config=D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale/src/main/config/compile-swf-config.xml
                         [java]
                    -js-compiler-define+=ROYALE::DISPLAYOBJECT,IUIComponent
                         [java]
                    -js-compiler-define+=GOOG::DEBUG,goog.DEBUG
                         [java] -js-compiler-define+=COMPILE::SWF,false
                         [java] -js-compiler-define+=COMPILE::JS,true
                         [java]
                    
-js-load-config=D:\dev\royale-emulation-works\github\royale-asjs/frameworks/js-config.xml
                         [java]
                    
-js-load-config+=D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale/../../js/projects/MXRoyaleJS/src/main/config/compile-js-config.xml
                         [java] target:SWF
                         [java] target:JSRoyale
                         [java] COMPC
                         [java] Loading configuration:
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\src\main\config\compile-swf-config.xml
                         [java]
                         [java] Unknown tag:export-protected-symbols
                         [java] 1243077 bytes written to
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale.swc
                    in 28.026 seconds
                         [java] COMPCJSCRoyale
                         [java] 30.146418432 seconds
                         [java]
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\js\projects\MXRoyaleJS\src\main\config\compile-js-config.xml(96):
                    col: 0 unknown configuration variable
                    'export-protected-symbols'.
                         [java]
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\js\projects\MXRoyaleJS\src\main\config\compile-js-config.xml
                    (line: 96)
                         [java]
                         [java]
                    <export-protected-symbols>true</export-protected-symbols>
                         [java]
                         [java]
                         [java] Picked up JAVA_TOOL_OPTIONS:
                    -Dfile.encoding=UTF-8 -Duser.country=EN
                    -Duser.language=en
                    -Dflexunit.url=file:///D:/dev/royale-emulation-works/github
                    -Dflexunit.folder=.
                         [java] Java Result: 3

                    BUILD FAILED
                    
D:\dev\royale-emulation-works\github\royale-asjs\build.xml:652:
                    The following error occurred while executing this
                    line:
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\build.xml:141:
                    The following error occurred while executing this
                    line:
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\build.xml:348:
                    The following error occurred while executing this
                    line:
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\build.xml:80:
                    The following error occurred while executing this
                    line:
                    
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\build.xml:110:
                    condition satisfied

                    Total time: 9 minutes 53 seconds
                    PS D:\dev\royale-emulation-works\compiler-works>


                    Thanks,
                    Serkan



--
Carlos Rovira
http://about.me/carlosrovira


Reply via email to