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]> 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://aka.ms/ghei36>'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 >
