Hi Josh, I build the SDK almost every night (at 0.00 "like Cinderella"), I refresh the 3 repos and even if there are no changes I compile all 3. I hadn't had any problems with mixed builds (mvn + ant) since the beginning of the month.
As environment variables I have ANT_HOME, FLASHPLAYER_DEBUGGER (D: \ Apache \ flashplayer_32_sa_debug.exe) and FLEX_HOME (D: \ Apache \ Apache4.16.1_AIR32) I have neither PLAYERGLOBAL_HOME created nor AIR_HOME. I've done tests removing ANT_HOME but it hasn't worked either. Last night, when it gave me the error for the first time, I went into Jenkins and was compiling at that moment your last changes ... I opened the execution console and the errors were occurring. The difference was that the compilation in Jenkins continued after an error and mine stopped 😝 (Failed> Console Output # 264825-Mar-2021 0:12) Where are you looking at it? I just saw that since run 264825 four more have been run. Indeed the last error is the "mustella" but if you upload you will see that they occur in a chain ... for example, the log of this compilation 264825 produces the same error as me with FlexUnitRoyaleApplication.swf ': test: [mkdir] Created dir: C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\royale\out [royaleunit] Validating task attributes ... [royaleunit] Generating default values ... [royaleunit] Using the following settings for the test run: [royaleunit] ROYALE_HOME: [C:\jenkins\workspace\royale-asjs] [royaleunit] haltonfailure: [true] [royaleunit] headless: [false] [royaleunit] display: [99] [royaleunit] localTrusted: [true] [royaleunit] player: [flash] [royaleunit] command: [C:\adobe\flash\11.7\flashplayerdebugger.exe] [royaleunit] port: [1024] [royaleunit] swf: [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf] [royaleunit] timeout: [90000ms] [royaleunit] toDir: [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\royale\out] [royaleunit] Setting up server process ... [royaleunit] Entry [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\royale] already available in local trust file at [C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\royaleUnit.cfg]. [royaleunit] Executing 'C:\adobe\flash\11.7\flashplayerdebugger.exe' with arguments: [royaleunit] 'C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf' [royaleunit] [royaleunit] The ' characters around the executable and arguments are [royaleunit] not part of the command. [royaleunit] I STOP HERE but in Jenkins it continues. Maybe my error occurs in the following statement and I'm just looking at the previous log lines ... maybe ... Hiedra. -----Mensaje original----- De: Josh Tynjala <joshtynj...@bowlerhat.dev> Enviado el: jueves, 25 de marzo de 2021 18:41 Para: Apache Royale Development <dev@royale.apache.org> Asunto: Re: build SDK with ANT Error I'm having trouble reproducing your issue, and I don't see the same problem on the CI server either (there's a mustella test failure on the CI server, but that's been happening for a long time). I tried on both Windows and macOS. I tried with env.AIR_HOME/env.PLAYERGLOBAL_HOME set, and with them missing. royale-asjs successfully built for me with Ant in all of those situations. I see that you specifically mentioned downloading the changes for royale-asjs. Did you also pull the latest changes for royale-compiler and royale-typedefs? My latest changes to royale-asjs require the other two repos to be up-to-date and rebuilt too. -- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Thu, Mar 25, 2021 at 3:08 AM Maria Jose Esteve <mjest...@iest.com> wrote: > I compile with the last commit valid for me: > 646af1c173dddb2aeff89528ec354a6807960cac > Isn't it happening to anyone else? > > Hiedra > > -----Mensaje original----- > De: Maria Jose Esteve <mjest...@iest.com> Enviado el: jueves, 25 de > marzo de 2021 10:54 > Para: dev@royale.apache.org > Asunto: RE: build SDK with ANT Error > > This is de current error: > > > > compile: > [echo] Compiling FlexUnitRoyaleApplication.swf > [echo] ROYALE_HOME: > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork > [echo] ROYALE_SWF_COMPILER_HOME: > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork > [echo] playerglobal.version: 11.1 Trying to override old > definition of task compc Trying to override old definition of task > mxmlc > [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx1024m > [mxmlc] MXMLJSC > [mxmlc] -debug > [mxmlc] -compiler.targets=SWF > [mxmlc] +playerglobal.version=11.1 > [mxmlc] > +env.PLAYERGLOBAL_HOME=D:\Develop_Royale\Projects\Royale-SDK\royale-as > +js-fork/frameworks/libs/player > [mxmlc] > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork/fram > +eworks/ > [mxmlc] > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf > [mxmlc] -- > [mxmlc] > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml > [mxmlc] Loading configuration: > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\royale-config.xml > [mxmlc] Loading configuration: > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\FlexUnitRoyaleApplication-config.xml > [mxmlc] > [mxmlc] 69254 bytes written to > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj > ects\XML\src\test\royale\FlexUnitRoyaleApplication.swf > in 0,864 seconds > [mxmlc] 1.3198882 seconds > [mxmlc] > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as(219): > col: 13 Warning: declaration 'atom' will be scoped to the default > namespace: internal. It will not be visible outside of this package. > [mxmlc] > [mxmlc] namespace atom = "http://www.w3.org/2005/Atom" > [mxmlc] ^ > [mxmlc] > [mxmlc] > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as(251): > col: 13 Warning: declaration 'atom' will be scoped to the default > namespace: internal. It will not be visible outside of this package. > [mxmlc] > [mxmlc] namespace atom = "http://www.w3.org/2005/Atom" > [mxmlc] ^ > [mxmlc] > [mxmlc] > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as(377): > col: 13 Warning: declaration 'royale' will be scoped to the default > namespace: internal. It will not be visible outside of this package. > [mxmlc] > [mxmlc] namespace royale = "https://royale.apache.org" > [mxmlc] ^ > [mxmlc] > [mxmlc] > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNotificationTest.as(99): > col: 25 Warning: Use of the instanceof operator. The instanceof > operator is deprecated, use the is operator instead. > [mxmlc] > [mxmlc] assertTrue( xml instanceof XML, 'unexpected type > check'); > [mxmlc] ^ > [mxmlc] > > test: > [mkdir] Created dir: > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj > ects\XML\src\test\royale\out [royaleunit] Validating task attributes > ... > Error:Build stopped - build SDK with ANT > > > -----Mensaje original----- > De: Alina Kazi <alinak...@apache.org> > Enviado el: jueves, 25 de marzo de 2021 10:46 > Para: dev@royale.apache.org > Asunto: Re: build SDK with ANT Error > > You passed the last error ,right? > > On Thu, Mar 25, 2021 at 2:43 PM Maria Jose Esteve <mjest...@iest.com> > wrote: > > > I do have that variable mapped > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe > > > > -----Mensaje original----- > > De: Alina Kazi <alinak...@apache.org> Enviado el: jueves, 25 de > > marzo de 2021 10:21 > > Para: dev@royale.apache.org > > Asunto: Re: build SDK with ANT Error > > > > Maria, > > > > Set FLASHPLAYER_DEBUGGER environment variable till path of > > flashplayer_29_sa_debug.exe and add variable to path and try again. > > E.g. > > D:\flash\flashplayer_29_sa_debug.exe > > > > > > Alina > > > > On Thu, 25 Mar 2021, 2:13 PM Maria Jose Esteve, <mjest...@iest.com> > wrote: > > > > > It hasn't worked for me. I have associated the swf's with the > > > flashplayer, as you have told me, and nothing ... > > > I've read Josh's commit comments and noticed this one: > > > " Ant: if env.PLAYERGLOBAL_HOME is not specified, uses Apache > > > playerglobal to build framework. If env.ANT_HOME is not specified, > > > uses Apache airglobal to build framework." > > > > > > To test, I have removed my environment variable ANT_HOME and made > > > sure that the variable PLAYERGLOBAL_HOME does not exist, I have > > > tested again and it gives error anyway: > > > > > > compile: > > > [echo] Compiling FlexUnitRoyaleApplication.swf > > > [echo] ROYALE_HOME: > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork > > > [echo] ROYALE_SWF_COMPILER_HOME: > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork > > > [echo] playerglobal.version: 11.1 Trying to override old > > > definition of task compc Trying to override old definition of task > > > mxmlc > > > [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 > -Xmx1024m > > > [mxmlc] MXMLJSC > > > [mxmlc] -debug > > > [mxmlc] -compiler.targets=SWF > > > [mxmlc] +playerglobal.version=11.1 > > > [mxmlc] > > > +env.PLAYERGLOBAL_HOME=D:\Develop_Royale\Projects\Royale-SDK\royal > > > +e- > > > +as > > > +js-fork/frameworks/libs/player > > > [mxmlc] > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork/ > > > +fr > > > +am > > > +eworks/ > > > [mxmlc] > > > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame > > wo rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf > > > [mxmlc] -- > > > [mxmlc] > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\pr > > oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml > > > [mxmlc] Loading configuration: > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\ro > > ya > > le-config.xml > > > [mxmlc] Loading configuration: > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\pr > > oj ects\XML\src\test\royale\FlexUnitRoyaleApplication-config.xml > > > [mxmlc] > > > [mxmlc] > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as(219): > > > col: 13 Warning: declaration 'atom' will be scoped to the default > > > namespace: internal. It will not be visible outside of this package. > > > [mxmlc] > > > [mxmlc] namespace atom = "http://www.w3.org/2005/Atom" > > > [mxmlc] ^ > > > [mxmlc] > > > [mxmlc] > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as(251): > > > col: 13 Warning: declaration 'atom' will be scoped to the default > > > namespace: internal. It will not be visible outside of this package. > > > [mxmlc] > > > [mxmlc] namespace atom = "http://www.w3.org/2005/Atom" > > > [mxmlc] ^ > > > [mxmlc] > > > [mxmlc] > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as(377): > > > col: 13 Warning: declaration 'royale' will be scoped to the > > > default > > > namespace: internal. It will not be visible outside of this package. > > > [mxmlc] > > > [mxmlc] namespace royale = "https://royale.apache.org" > > > [mxmlc] ^ > > > [mxmlc] > > > [mxmlc] > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNotificationTest.as(99): > > > col: 25 Warning: Use of the instanceof operator. The instanceof > > > operator is deprecated, use the is operator instead. > > > [mxmlc] > > > [mxmlc] assertTrue( xml instanceof XML, 'unexpected > type > > > check'); > > > [mxmlc] ^ > > > [mxmlc] > > > [mxmlc] 69255 bytes written to > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\ > > > pr oj ects\XML\src\test\royale\FlexUnitRoyaleApplication.swf > > > in 0,826 seconds > > > [mxmlc] 1.2625807 seconds > > > > > > test: > > > [mkdir] Created dir: > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\ > > > pr oj ects\XML\src\test\royale\out [royaleunit] Validating task > > > attributes ... > > > Error:Build stopped - build SDK with ANT > > > > > > > > > -----Mensaje original----- > > > De: Alina Kazi <alinakazi1...@gmail.com> Enviado el: jueves, 25 de > > > marzo de 2021 8:56 > > > Para: dev@royale.apache.org > > > Asunto: Re: build SDK with ANT Error > > > > > > Right click on .swf file click "open with" and mark "always use > > > this app to open .swf files" select flash player e.g. > > > flashplayer_29_sa_debug.exe > > > > > > Then try ANT again it should work. > > > > > > Alina Kazi > > > > > > On Thu, 25 Mar 2021, 5:41 AM Maria Jose Esteve, > > > <mjest...@iest.com> > > wrote: > > > > > > > Hi, I just downloaded the changes from the asjs repo and I > > > > cannot compile successfully (I have checked the Jenkins log and > > > > it also > > > occurs), the error: > > > > (646af1c173dddb2aeff89528ec354a6807960cac) > > > > > > > > [mxmlc] > > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\ > > > pr oj ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml > > > > [mxmlc] Loading configuration: > > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\ > > > ro > > > ya > > > le-config.xml > > > > [mxmlc] Loading configuration: > > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\ > > > pr oj > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml > > > > [mxmlc] > > > > [mxmlc] 94444 bytes written to > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework > > > > s\ pr oj > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf > > > > in 0,760 seconds > > > > [mxmlc] 1.1772595 seconds > > > > > > > > test: > > > > [mkdir] Created dir: > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework > > > > s\ pr oj ects\Basic\src\test\royale\out [royaleunit] Validating > > > > task attributes ... > > > > [royaleunit] Generating default values ... > > > > [royaleunit] Using the following settings for the test run: > > > > [royaleunit] ROYALE_HOME: > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork] > > > > [royaleunit] haltonfailure: [true] > > > > [royaleunit] headless: [false] > > > > [royaleunit] display: [99] > > > > [royaleunit] localTrusted: [true] > > > > [royaleunit] player: [flash] > > > > [royaleunit] port: [1024] > > > > [royaleunit] swf: > > > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks > > > \p ro jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf] > > > > [royaleunit] timeout: [90000ms] > > > > [royaleunit] toDir: > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewor > > > > ks \p ro jects\Basic\src\test\royale\out] [royaleunit] Setting > > > > up server process ... > > > > [royaleunit] Starting server ... > > > > [royaleunit] Opening server socket on port [1024]. > > > > [royaleunit] Waiting for client connection ... > > > > [royaleunit] Updated local trust file at > > > > [C:\Users\hiedra\AppData\Roaming\Macromedia\Flash > > > > Player\#Security\FlashPlayerTrust\royaleUnit.cfg], added > > > > > > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\Basic\src\test\royale]. > > > > [royaleunit] Executing 'rundll32' with arguments: > > > > [royaleunit] 'url.dll,FileProtocolHandler' > > > > [royaleunit] > > > > > > > > > > 'D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf' > > > > [royaleunit] > > > > [royaleunit] The ' characters around the executable and > > > > arguments are [royaleunit] not part of the command. > > > > [royaleunit] > > > > [royaleunit] > > > > [royaleunit] Stopping server ... > > > > [royaleunit] End of test data reached, sending acknowledgement > > > > to player ... > > > > [royaleunit] Closing client connection ... > > > > [royaleunit] Closing server on port [1024] ... > > > > Error:Build stopped - build SDK with ANT > > > > > > > > Hiedra. > > > > > > > > > >