You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Maria Jose Esteve <mj...@iest.com> on 2021/03/25 00:41:31 UTC

build SDK with ANT Error

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\projects\Basic\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\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml
    [mxmlc]
    [mxmlc] 94444 bytes written to D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\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\frameworks\projects\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\projects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
[royaleunit]          timeout: [90000ms]
[royaleunit]          toDir: [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\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.

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
Thanks Alina, I will try.

Hiedra
-----Mensaje original-----
De: Alina Kazi <al...@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, <mj...@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\projects\Basic\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\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml
>     [mxmlc]
>     [mxmlc] 94444 bytes written to
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> 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\frameworks\proj
> 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\projects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> [royaleunit]          timeout: [90000ms]
> [royaleunit]          toDir:
> [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\pro
> 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.
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
Traduzco... All perfect!!! sorry

Hiedra

-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com> 
Enviado el: viernes, 26 de marzo de 2021 23:48
Para: dev@royale.apache.org
Asunto: RE: build SDK with ANT Error

Josh, todo perfecto. 😝



Thx.

Hiedra.



-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com> Enviado el: viernes, 26 de marzo de 2021 23:22
Para: dev@royale.apache.org
Asunto: RE: build SDK with ANT Error



Ok, I'm going to compile. (Yesterday at the end I compiled with the option ant -Dskip-tests = true and thus it was able to finish) I've always had FLASHPLAYER_DEBUGGER and FLEX_HOME variables set. I'm going to try with them and without them.



Thx Josh, now I tell you



Hiedra



-----Mensaje original-----

De: Josh Tynjala <jo...@bowlerhat.dev>> Enviado el: viernes, 26 de marzo de 2021 21:13

Para: Apache Royale Development <de...@royale.apache.org>>

Asunto: Re: build SDK with ANT Error



Please try my latest royale-asjs commit. I think that it should work better for you.



If you did not set FLASHPLAYER_DEBUGGER or FLEX_HOME before my changes, you should not need to set them now. Additionally, as far as I know, FLEX_HOME is not necessary for the build Royale at all, so you should not set it unless you have some specific reason.



--

Josh Tynjala

Bowler Hat LLC <https://bowlerhat.dev>





On Thu, Mar 25, 2021 at 4:37 PM Maria Jose Esteve <mj...@iest.com>> wrote:



> ... Same as last time with the execution of "ant clean", error. BUT I

> have removed an error handling block that my build .bat had and found

> out what

> happens:

>

> In the log file to which I redirect the execution of the bat, you can

> see the usual error:

>

> And in the command window now it shows the REAL PROBLEM:

>

>      [java] Java Result: 2

>      [java] Java Result: 2

>

> BUILD FAILED

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\build.xml:690:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:134:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:487:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\build.xml:68:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\build.xml:110:

> The provided command path

> [D:\Develop_Royale\Projects\Apache-Flex\flex-sdk]

> is a directory, it must be an executable.

>

> [build.xml]

>

>     <target name="test">

>         <!-- Load the <royaleunit> task. We can't do this at the

> <project> level -->

>         <!-- because targets that run before royaleUnitTasks.jar gets

> built would fail. -->

>         <taskdef resource="royaleUnitTasks.tasks" 
> classpathref="lib.path"/>

>                 <mkdir dir="${report.dir}" />

>         <!-- Use the env var if it is set, otherwise default to 'system'

> flash debugger  -->

>         <condition property="command" value="${env.FLASHPLAYER_DEBUGGER}"

> else="">

>             <isset property="env.FLASHPLAYER_DEBUGGER" />

>         </condition>

>         <royaleunit

>             command="${command}"

>             swf="${basedir}/FlexUnitRoyaleApplication.swf"

>                     workingDir="${basedir}"

>                     toDir="${report.dir}"

>                         haltonfailure="true"

>                         verbose="true"

>                         localTrusted="true"

>                         timeout="90000" />

> ******************************************************** line 110

>

>                 <!-- Generate readable JUnit-style reports -->

>                 <junitreport todir="${report.dir}">

>                         <fileset dir="${report.dir}">

>                                 <include name="TEST-*.xml" />

>                         </fileset>

>                         <report format="frames" todir="${report.dir}/html"

> />

>                 </junitreport>

>

>     </target>

>

> [Environment variables configured]

>

> FLASHPLAYER_DEBUGGER = D: \Apache \ flashplayer_32_sa_debug.exe

> FLEX_HOME = D:\Apache\Apache4.16.1_AIR32

>

> ... path [D: \ Develop_Royale \ Projects \ Apache-Flex \ flex-sdk] is

> the path where I have cloned the flex-sdk repo but I don't have any

> environment variable that has it assigned.

> How are you associating FLASHPLAYER_DEBUGGER with the local path of

> the flex-sdk repo?

>

> Hiedra

>

> -----Mensaje original-----

> De: Maria Jose Esteve <mj...@iest.com>> 
> Enviado el: jueves, 25 de

> marzo de 2021 23:33

> Para: dev@royale.apache.org<ma...@royale.apache.org>

> Asunto: RE: build SDK with ANT Error

>

> TODAY I'M FATAL, ... FORGIVE ME ..

>

> I share the log of the last compilation [1] which is later than the

> previous one. Now I have the * .swf files associated with flashplayer,

> as Alina recommended this morning.

> The error, after those changes is different but it did not work either.

>

> [1]

> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view

> ?usp=sharing

>

> I'm going to recompile by running ant clean on typesDefs and compiler.

> In asjs I have run a superclean ant since forever.

> (...)

>

>

> -----Mensaje original-----

> De: Maria Jose Esteve <mj...@iest.com>> 
> Enviado el: jueves, 25 de

> marzo de 2021 23:32

> Para: dev@royale.apache.org<ma...@royale.apache.org>

> Asunto: RE: build SDK with ANT Error

>

> Comparto el log de la última compilación [1] que es posterior a la del

> correo anterior. Ahora tengo asociados los ficheros *.swf a

> flashplayer, como Alina me recomendó esta mañana.

> El error, tras esos cambios es diferente pero no funcionó tampoco.

>

> [1]

> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view

> ?usp=sharing

>

> Voy a volver a compilar ejecutando ant clean en typesDefs y en el

> compiler. En asjs ejecuto un ant superclean desde siempre.

> (...)

>

> -----Mensaje original-----

> De: Josh Tynjala 
> <jo...@bowlerhat.dev>> Enviado 
> el: jueves, 25 de

> marzo de 2021 22:14

> Para: Apache Royale Development 
> <de...@royale.apache.org>>

> Asunto: Re: build SDK with ANT Error

>

> One thing that's interesting to me is that you should see more output

> about the test results after this line:

>

> > [royaleunit] Closing server on port [1024] ...

>

> If the tests fail, it should say that before the Ant build exits. It's

> almost like the RoyaleUnit runner or Flash Player is crashing.

>

> Please try running "ant clean" in all three repos. It might help.

>

> --

> Josh Tynjala

> Bowler Hat LLC <https://bowlerhat.dev>

>

>

> On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve 
> <mj...@iest.com>>

> wrote:

>

> > Hahahaha really? Forgive my ignorance, I would not like to be

> > wasting your time ...

> >

> >

> >

> > > > > > > [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

> >

> >

> >

> > So ... do I have to think that the error is caused by the task

> > following FlexUnitRoyaleApplication? Okay, I do research ...

> >

> >

> >

> > Thx 😊

> >

> > Hiedra

> >

> >

> >

> > -----Mensaje original-----

> >

> > De: Josh Tynjala 
> > <jo...@bowlerhat.dev>>

> >

> > Enviado el: jueves, 25 de marzo de 2021 20:19

> >

> > Para: Apache Royale Development 
> > <de...@royale.apache.org>>

> >

> > Asunto: Re: build SDK with ANT Error

> >

> >

> >

> > > for example, the log of this compilation 264825 produces the same

> >

> > > error

> >

> > as me with FlexUnitRoyaleApplication.swf

> >

> >

> >

> > I don't see any errors in the log that you posted. What you posted

> > is normal output that is displayed both when the tests pass and when

> > they fail. These tests are passing successfully on the CI server.

> >

> >

> >

> > --

> >

> > Josh Tynjala

> >

> > Bowler Hat LLC <https://bowlerhat.dev>

> >

> >

> >

> >

> >

> > On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve

> > <mj...@iest.com>>

> >

> > wrote:

> >

> >

> >

> > > 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\

> > > ro

> > > ya

> >

> > > le\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\r

> > oy

> > ale\FlexUnitRoyaleApplication.swf]

> >

> > > [royaleunit]    timeout: [90000ms]

> >

> > > [royaleunit]    toDir:

> >

> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test

> > > \r

> > > oy

> >

> > > ale\out] [royaleunit] Setting up server process ...

> >

> > > [royaleunit] Entry

> >

> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test

> > > \r

> > > oy

> >

> > > ale] 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 
> > > <jo...@bowlerhat.dev>> 
> > > Enviado el: jueves,

> > > 25 de

> >

> > > marzo de 2021 18:41

> >

> > > Para: Apache Royale Development 
> > > <de...@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

> > > <mj...@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 
> > > > <mj...@iest.com>> Enviado el: 
> > > > jueves, 25

> > > > de

> >

> > > > marzo de 2021 10:54

> >

> > > > Para: dev@royale.apache.org<ma...@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\roy

> > > > +al

> > > > +e-

> >

> > > > +as

> >

> > > > +js-fork/frameworks/libs/player

> >

> > > >     [mxmlc]

> >

> > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-for

> > > > +k/

> > > > +fr

> >

> > > > +am

> >

> > > > +eworks/

> >

> > > >     [mxmlc]

> >

> > > >

> >

> > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra

> > > me

> > > 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] 69254 bytes written to

> >

> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework

> > > > s\

> > > > pr

> >

> > > > oj 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\framework

> > > > s\

> > > > pr

> >

> > > > oj ects\XML\src\test\royale\out [royaleunit] Validating task

> >

> > > > attributes ...

> >

> > > > Error:Build stopped - build SDK with ANT

> >

> > > >

> >

> > > >

> >

> > > > -----Mensaje original-----

> >

> > > > De: Alina Kazi 
> > > > <al...@apache.org>> Enviado el: 
> > > > jueves, 25 de

> >

> > > > marzo de 2021 10:46

> >

> > > > Para: dev@royale.apache.org<ma...@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

> >

> > > > <mj...@iest.com>>

> >

> > > > wrote:

> >

> > > >

> >

> > > > > I do have that variable mapped

> >

> > > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe

> >

> > > > >

> >

> > > > > -----Mensaje original-----

> >

> > > > > De: Alina Kazi 
> > > > > <al...@apache.org>> Enviado 
> > > > > el: jueves, 25

> > > > > de

> >

> > > > > marzo de 2021 10:21

> >

> > > > > Para: dev@royale.apache.org<ma...@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,

> >

> > > > > <mj...@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

> > > > > > +\r

> > > > > > +oy

> >

> > > > > > +al

> >

> > > > > > +e-

> >

> > > > > > +as

> >

> > > > > > +js-fork/frameworks/libs/player

> >

> > > > > >     [mxmlc]

> >

> > > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs

> > > > > > +-f

> > > > > > +or

> >

> > > > > > +k/

> >

> > > > > > +fr

> >

> > > > > > +am

> >

> > > > > > +eworks/

> >

> > > > > >     [mxmlc]

> >

> > > > > >

> >

> > > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork

> > > > > \f

> > > > > ra

> >

> > > > > me wo

> >

> > > > > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf

> >

> > > > > >     [mxmlc] --

> >

> > > > > >     [mxmlc]

> >

> > > > > >

> >

> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo

> > > > > rk

> > > > > s\

> >

> > > > > pr oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml

> >

> > > > > >     [mxmlc] Loading configuration:

> >

> > > > > >

> >

> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo

> > > > > rk

> > > > > s\

> >

> > > > > ro

> >

> > > > > ya

> >

> > > > > le-config.xml

> >

> > > > > >     [mxmlc] Loading configuration:

> >

> > > > > >

> >

> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo

> > > > > rk

> > > > > s\

> >

> > > > > 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\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\ 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\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit]

> > > > > > Validating

> >

> > > > > > task attributes ...

> >

> > > > > > Error:Build stopped - build SDK with ANT

> >

> > > > > >

> >

> > > > > >

> >

> > > > > > -----Mensaje original-----

> >

> > > > > > De: Alina Kazi 
> > > > > > <al...@gmail.com>> 
> > > > > > Enviado el: jueves,

> > > > > > 25

> >

> > > > > > de marzo de 2021 8:56

> >

> > > > > > Para: dev@royale.apache.org<ma...@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,

> >

> > > > > > <mj...@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\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\ pr oj

> >

> > > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml

> >

> > > > > > >     [mxmlc] Loading configuration:

> >

> > > > > > >

> >

> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\

> >

> > > > > > ro

> >

> > > > > > ya

> >

> > > > > > le-config.xml

> >

> > > > > > >     [mxmlc] Loading configuration:

> >

> > > > > > >

> >

> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\

> >

> > > > > > pr oj

> >

> > > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.

> > > > > > xm

> > > > > > l

> >

> > > > > > >     [mxmlc]

> >

> > > > > > >     [mxmlc] 94444 bytes written to

> >

> > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra

> > > > > > > me

> > > > > > > wo

> >

> > > > > > > rk

> >

> > > > > > > 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\fra

> > > > > > > me

> > > > > > > wo

> >

> > > > > > > rk 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\fram

> > > > > > ew

> > > > > > or

> >

> > > > > > ks \p ro

> >

> > > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]

> >

> > > > > > > [royaleunit]          timeout: [90000ms]

> >

> > > > > > > [royaleunit]          toDir:

> >

> > > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fr

> > > > > > > am

> > > > > > > ew

> >

> > > > > > > or 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.

> >

> > > > > > >

> >

> > > > > >

> >

> > > > >

> >

> > > >

> >

> > >

> >

>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
Josh, todo perfecto. 😝



Thx.

Hiedra.



-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com>
Enviado el: viernes, 26 de marzo de 2021 23:22
Para: dev@royale.apache.org
Asunto: RE: build SDK with ANT Error



Ok, I'm going to compile. (Yesterday at the end I compiled with the option ant -Dskip-tests = true and thus it was able to finish) I've always had FLASHPLAYER_DEBUGGER and FLEX_HOME variables set. I'm going to try with them and without them.



Thx Josh, now I tell you



Hiedra



-----Mensaje original-----

De: Josh Tynjala <jo...@bowlerhat.dev>> Enviado el: viernes, 26 de marzo de 2021 21:13

Para: Apache Royale Development <de...@royale.apache.org>>

Asunto: Re: build SDK with ANT Error



Please try my latest royale-asjs commit. I think that it should work better for you.



If you did not set FLASHPLAYER_DEBUGGER or FLEX_HOME before my changes, you should not need to set them now. Additionally, as far as I know, FLEX_HOME is not necessary for the build Royale at all, so you should not set it unless you have some specific reason.



--

Josh Tynjala

Bowler Hat LLC <https://bowlerhat.dev>





On Thu, Mar 25, 2021 at 4:37 PM Maria Jose Esteve <mj...@iest.com>> wrote:



> ... Same as last time with the execution of "ant clean", error. BUT I

> have removed an error handling block that my build .bat had and found

> out what

> happens:

>

> In the log file to which I redirect the execution of the bat, you can

> see the usual error:

>

> And in the command window now it shows the REAL PROBLEM:

>

>      [java] Java Result: 2

>      [java] Java Result: 2

>

> BUILD FAILED

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\build.xml:690:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:134:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:487:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\build.xml:68:

> The following error occurred while executing this line:

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\build.xml:110:

> The provided command path

> [D:\Develop_Royale\Projects\Apache-Flex\flex-sdk]

> is a directory, it must be an executable.

>

> [build.xml]

>

>     <target name="test">

>         <!-- Load the <royaleunit> task. We can't do this at the

> <project> level -->

>         <!-- because targets that run before royaleUnitTasks.jar gets

> built would fail. -->

>         <taskdef resource="royaleUnitTasks.tasks" classpathref="lib.path"/>

>                 <mkdir dir="${report.dir}" />

>         <!-- Use the env var if it is set, otherwise default to 'system'

> flash debugger  -->

>         <condition property="command" value="${env.FLASHPLAYER_DEBUGGER}"

> else="">

>             <isset property="env.FLASHPLAYER_DEBUGGER" />

>         </condition>

>         <royaleunit

>             command="${command}"

>             swf="${basedir}/FlexUnitRoyaleApplication.swf"

>                     workingDir="${basedir}"

>                     toDir="${report.dir}"

>                         haltonfailure="true"

>                         verbose="true"

>                         localTrusted="true"

>                         timeout="90000" />

> ******************************************************** line 110

>

>                 <!-- Generate readable JUnit-style reports -->

>                 <junitreport todir="${report.dir}">

>                         <fileset dir="${report.dir}">

>                                 <include name="TEST-*.xml" />

>                         </fileset>

>                         <report format="frames" todir="${report.dir}/html"

> />

>                 </junitreport>

>

>     </target>

>

> [Environment variables configured]

>

> FLASHPLAYER_DEBUGGER = D: \Apache \ flashplayer_32_sa_debug.exe

> FLEX_HOME = D:\Apache\Apache4.16.1_AIR32

>

> ... path [D: \ Develop_Royale \ Projects \ Apache-Flex \ flex-sdk] is

> the path where I have cloned the flex-sdk repo but I don't have any

> environment variable that has it assigned.

> How are you associating FLASHPLAYER_DEBUGGER with the local path of

> the flex-sdk repo?

>

> Hiedra

>

> -----Mensaje original-----

> De: Maria Jose Esteve <mj...@iest.com>> Enviado el: jueves, 25 de

> marzo de 2021 23:33

> Para: dev@royale.apache.org<ma...@royale.apache.org>

> Asunto: RE: build SDK with ANT Error

>

> TODAY I'M FATAL, ... FORGIVE ME ..

>

> I share the log of the last compilation [1] which is later than the

> previous one. Now I have the * .swf files associated with flashplayer,

> as Alina recommended this morning.

> The error, after those changes is different but it did not work either.

>

> [1]

> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view

> ?usp=sharing

>

> I'm going to recompile by running ant clean on typesDefs and compiler.

> In asjs I have run a superclean ant since forever.

> (...)

>

>

> -----Mensaje original-----

> De: Maria Jose Esteve <mj...@iest.com>> Enviado el: jueves, 25 de

> marzo de 2021 23:32

> Para: dev@royale.apache.org<ma...@royale.apache.org>

> Asunto: RE: build SDK with ANT Error

>

> Comparto el log de la última compilación [1] que es posterior a la del

> correo anterior. Ahora tengo asociados los ficheros *.swf a

> flashplayer, como Alina me recomendó esta mañana.

> El error, tras esos cambios es diferente pero no funcionó tampoco.

>

> [1]

> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view

> ?usp=sharing

>

> Voy a volver a compilar ejecutando ant clean en typesDefs y en el

> compiler. En asjs ejecuto un ant superclean desde siempre.

> (...)

>

> -----Mensaje original-----

> De: Josh Tynjala <jo...@bowlerhat.dev>> Enviado el: jueves, 25 de

> marzo de 2021 22:14

> Para: Apache Royale Development <de...@royale.apache.org>>

> Asunto: Re: build SDK with ANT Error

>

> One thing that's interesting to me is that you should see more output

> about the test results after this line:

>

> > [royaleunit] Closing server on port [1024] ...

>

> If the tests fail, it should say that before the Ant build exits. It's

> almost like the RoyaleUnit runner or Flash Player is crashing.

>

> Please try running "ant clean" in all three repos. It might help.

>

> --

> Josh Tynjala

> Bowler Hat LLC <https://bowlerhat.dev>

>

>

> On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve <mj...@iest.com>>

> wrote:

>

> > Hahahaha really? Forgive my ignorance, I would not like to be

> > wasting your time ...

> >

> >

> >

> > > > > > > [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

> >

> >

> >

> > So ... do I have to think that the error is caused by the task

> > following FlexUnitRoyaleApplication? Okay, I do research ...

> >

> >

> >

> > Thx 😊

> >

> > Hiedra

> >

> >

> >

> > -----Mensaje original-----

> >

> > De: Josh Tynjala <jo...@bowlerhat.dev>>

> >

> > Enviado el: jueves, 25 de marzo de 2021 20:19

> >

> > Para: Apache Royale Development <de...@royale.apache.org>>

> >

> > Asunto: Re: build SDK with ANT Error

> >

> >

> >

> > > for example, the log of this compilation 264825 produces the same

> >

> > > error

> >

> > as me with FlexUnitRoyaleApplication.swf

> >

> >

> >

> > I don't see any errors in the log that you posted. What you posted

> > is normal output that is displayed both when the tests pass and when

> > they fail. These tests are passing successfully on the CI server.

> >

> >

> >

> > --

> >

> > Josh Tynjala

> >

> > Bowler Hat LLC <https://bowlerhat.dev>

> >

> >

> >

> >

> >

> > On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve

> > <mj...@iest.com>>

> >

> > wrote:

> >

> >

> >

> > > 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\

> > > ro

> > > ya

> >

> > > le\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\r

> > oy

> > ale\FlexUnitRoyaleApplication.swf]

> >

> > > [royaleunit]    timeout: [90000ms]

> >

> > > [royaleunit]    toDir:

> >

> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test

> > > \r

> > > oy

> >

> > > ale\out] [royaleunit] Setting up server process ...

> >

> > > [royaleunit] Entry

> >

> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test

> > > \r

> > > oy

> >

> > > ale] 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 <jo...@bowlerhat.dev>> Enviado el: jueves,

> > > 25 de

> >

> > > marzo de 2021 18:41

> >

> > > Para: Apache Royale Development <de...@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

> > > <mj...@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 <mj...@iest.com>> Enviado el: jueves, 25

> > > > de

> >

> > > > marzo de 2021 10:54

> >

> > > > Para: dev@royale.apache.org<ma...@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\roy

> > > > +al

> > > > +e-

> >

> > > > +as

> >

> > > > +js-fork/frameworks/libs/player

> >

> > > >     [mxmlc]

> >

> > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-for

> > > > +k/

> > > > +fr

> >

> > > > +am

> >

> > > > +eworks/

> >

> > > >     [mxmlc]

> >

> > > >

> >

> > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra

> > > me

> > > 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] 69254 bytes written to

> >

> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework

> > > > s\

> > > > pr

> >

> > > > oj 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\framework

> > > > s\

> > > > pr

> >

> > > > oj ects\XML\src\test\royale\out [royaleunit] Validating task

> >

> > > > attributes ...

> >

> > > > Error:Build stopped - build SDK with ANT

> >

> > > >

> >

> > > >

> >

> > > > -----Mensaje original-----

> >

> > > > De: Alina Kazi <al...@apache.org>> Enviado el: jueves, 25 de

> >

> > > > marzo de 2021 10:46

> >

> > > > Para: dev@royale.apache.org<ma...@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

> >

> > > > <mj...@iest.com>>

> >

> > > > wrote:

> >

> > > >

> >

> > > > > I do have that variable mapped

> >

> > > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe

> >

> > > > >

> >

> > > > > -----Mensaje original-----

> >

> > > > > De: Alina Kazi <al...@apache.org>> Enviado el: jueves, 25

> > > > > de

> >

> > > > > marzo de 2021 10:21

> >

> > > > > Para: dev@royale.apache.org<ma...@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,

> >

> > > > > <mj...@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

> > > > > > +\r

> > > > > > +oy

> >

> > > > > > +al

> >

> > > > > > +e-

> >

> > > > > > +as

> >

> > > > > > +js-fork/frameworks/libs/player

> >

> > > > > >     [mxmlc]

> >

> > > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs

> > > > > > +-f

> > > > > > +or

> >

> > > > > > +k/

> >

> > > > > > +fr

> >

> > > > > > +am

> >

> > > > > > +eworks/

> >

> > > > > >     [mxmlc]

> >

> > > > > >

> >

> > > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork

> > > > > \f

> > > > > ra

> >

> > > > > me wo

> >

> > > > > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf

> >

> > > > > >     [mxmlc] --

> >

> > > > > >     [mxmlc]

> >

> > > > > >

> >

> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo

> > > > > rk

> > > > > s\

> >

> > > > > pr oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml

> >

> > > > > >     [mxmlc] Loading configuration:

> >

> > > > > >

> >

> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo

> > > > > rk

> > > > > s\

> >

> > > > > ro

> >

> > > > > ya

> >

> > > > > le-config.xml

> >

> > > > > >     [mxmlc] Loading configuration:

> >

> > > > > >

> >

> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo

> > > > > rk

> > > > > s\

> >

> > > > > 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\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\ 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\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit]

> > > > > > Validating

> >

> > > > > > task attributes ...

> >

> > > > > > Error:Build stopped - build SDK with ANT

> >

> > > > > >

> >

> > > > > >

> >

> > > > > > -----Mensaje original-----

> >

> > > > > > De: Alina Kazi <al...@gmail.com>> Enviado el: jueves,

> > > > > > 25

> >

> > > > > > de marzo de 2021 8:56

> >

> > > > > > Para: dev@royale.apache.org<ma...@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,

> >

> > > > > > <mj...@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\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\ pr oj

> >

> > > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml

> >

> > > > > > >     [mxmlc] Loading configuration:

> >

> > > > > > >

> >

> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\

> >

> > > > > > ro

> >

> > > > > > ya

> >

> > > > > > le-config.xml

> >

> > > > > > >     [mxmlc] Loading configuration:

> >

> > > > > > >

> >

> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame

> > > > > > wo

> > > > > > rk

> >

> > > > > > s\

> >

> > > > > > pr oj

> >

> > > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.

> > > > > > xm

> > > > > > l

> >

> > > > > > >     [mxmlc]

> >

> > > > > > >     [mxmlc] 94444 bytes written to

> >

> > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra

> > > > > > > me

> > > > > > > wo

> >

> > > > > > > rk

> >

> > > > > > > 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\fra

> > > > > > > me

> > > > > > > wo

> >

> > > > > > > rk 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\fram

> > > > > > ew

> > > > > > or

> >

> > > > > > ks \p ro

> >

> > > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]

> >

> > > > > > > [royaleunit]          timeout: [90000ms]

> >

> > > > > > > [royaleunit]          toDir:

> >

> > > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fr

> > > > > > > am

> > > > > > > ew

> >

> > > > > > > or 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.

> >

> > > > > > >

> >

> > > > > >

> >

> > > > >

> >

> > > >

> >

> > >

> >

>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
Ok, I'm going to compile. (Yesterday at the end I compiled with the option ant -Dskip-tests = true and thus it was able to finish)
I've always had FLASHPLAYER_DEBUGGER and FLEX_HOME variables set. I'm going to try with them and without them.

Thx Josh, now I tell you

Hiedra

-----Mensaje original-----
De: Josh Tynjala <jo...@bowlerhat.dev> 
Enviado el: viernes, 26 de marzo de 2021 21:13
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: build SDK with ANT Error

Please try my latest royale-asjs commit. I think that it should work better for you.

If you did not set FLASHPLAYER_DEBUGGER or FLEX_HOME before my changes, you should not need to set them now. Additionally, as far as I know, FLEX_HOME is not necessary for the build Royale at all, so you should not set it unless you have some specific reason.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Mar 25, 2021 at 4:37 PM Maria Jose Esteve <mj...@iest.com> wrote:

> ... Same as last time with the execution of "ant clean", error. BUT I 
> have removed an error handling block that my build .bat had and found 
> out what
> happens:
>
> In the log file to which I redirect the execution of the bat, you can 
> see the usual error:
>
> And in the command window now it shows the REAL PROBLEM:
>
>      [java] Java Result: 2
>      [java] Java Result: 2
>
> BUILD FAILED
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\build.xml:690: 
> The following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:134:
> The following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:487:
> The following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\build.xml:68:
> The following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\build.xml:110:
> The provided command path 
> [D:\Develop_Royale\Projects\Apache-Flex\flex-sdk]
> is a directory, it must be an executable.
>
> [build.xml]
>
>     <target name="test">
>         <!-- Load the <royaleunit> task. We can't do this at the 
> <project> level -->
>         <!-- because targets that run before royaleUnitTasks.jar gets 
> built would fail. -->
>         <taskdef resource="royaleUnitTasks.tasks" classpathref="lib.path"/>
>                 <mkdir dir="${report.dir}" />
>         <!-- Use the env var if it is set, otherwise default to 'system'
> flash debugger  -->
>         <condition property="command" value="${env.FLASHPLAYER_DEBUGGER}"
> else="">
>             <isset property="env.FLASHPLAYER_DEBUGGER" />
>         </condition>
>         <royaleunit
>             command="${command}"
>             swf="${basedir}/FlexUnitRoyaleApplication.swf"
>                     workingDir="${basedir}"
>                     toDir="${report.dir}"
>                         haltonfailure="true"
>                         verbose="true"
>                         localTrusted="true"
>                         timeout="90000" />
> ******************************************************** line 110
>
>                 <!-- Generate readable JUnit-style reports -->
>                 <junitreport todir="${report.dir}">
>                         <fileset dir="${report.dir}">
>                                 <include name="TEST-*.xml" />
>                         </fileset>
>                         <report format="frames" todir="${report.dir}/html"
> />
>                 </junitreport>
>
>     </target>
>
> [Environment variables configured]
>
> FLASHPLAYER_DEBUGGER = D: \Apache \ flashplayer_32_sa_debug.exe 
> FLEX_HOME = D:\Apache\Apache4.16.1_AIR32
>
> ... path [D: \ Develop_Royale \ Projects \ Apache-Flex \ flex-sdk] is 
> the path where I have cloned the flex-sdk repo but I don't have any 
> environment variable that has it assigned.
> How are you associating FLASHPLAYER_DEBUGGER with the local path of 
> the flex-sdk repo?
>
> Hiedra
>
> -----Mensaje original-----
> De: Maria Jose Esteve <mj...@iest.com> Enviado el: jueves, 25 de 
> marzo de 2021 23:33
> Para: dev@royale.apache.org
> Asunto: RE: build SDK with ANT Error
>
> TODAY I'M FATAL, ... FORGIVE ME ..
>
> I share the log of the last compilation [1] which is later than the 
> previous one. Now I have the * .swf files associated with flashplayer, 
> as Alina recommended this morning.
> The error, after those changes is different but it did not work either.
>
> [1]
> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view
> ?usp=sharing
>
> I'm going to recompile by running ant clean on typesDefs and compiler. 
> In asjs I have run a superclean ant since forever.
> (...)
>
>
> -----Mensaje original-----
> De: Maria Jose Esteve <mj...@iest.com> Enviado el: jueves, 25 de 
> marzo de 2021 23:32
> Para: dev@royale.apache.org
> Asunto: RE: build SDK with ANT Error
>
> Comparto el log de la última compilación [1] que es posterior a la del 
> correo anterior. Ahora tengo asociados los ficheros *.swf a 
> flashplayer, como Alina me recomendó esta mañana.
> El error, tras esos cambios es diferente pero no funcionó tampoco.
>
> [1]
> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view
> ?usp=sharing
>
> Voy a volver a compilar ejecutando ant clean en typesDefs y en el 
> compiler. En asjs ejecuto un ant superclean desde siempre.
> (...)
>
> -----Mensaje original-----
> De: Josh Tynjala <jo...@bowlerhat.dev> Enviado el: jueves, 25 de 
> marzo de 2021 22:14
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: build SDK with ANT Error
>
> One thing that's interesting to me is that you should see more output 
> about the test results after this line:
>
> > [royaleunit] Closing server on port [1024] ...
>
> If the tests fail, it should say that before the Ant build exits. It's 
> almost like the RoyaleUnit runner or Flash Player is crashing.
>
> Please try running "ant clean" in all three repos. It might help.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve <mj...@iest.com>
> wrote:
>
> > Hahahaha really? Forgive my ignorance, I would not like to be 
> > wasting your time ...
> >
> >
> >
> > > > > > > [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
> >
> >
> >
> > So ... do I have to think that the error is caused by the task 
> > following FlexUnitRoyaleApplication? Okay, I do research ...
> >
> >
> >
> > Thx 😊
> >
> > Hiedra
> >
> >
> >
> > -----Mensaje original-----
> >
> > De: Josh Tynjala <jo...@bowlerhat.dev>
> >
> > Enviado el: jueves, 25 de marzo de 2021 20:19
> >
> > Para: Apache Royale Development <de...@royale.apache.org>
> >
> > Asunto: Re: build SDK with ANT Error
> >
> >
> >
> > > for example, the log of this compilation 264825 produces the same
> >
> > > error
> >
> > as me with FlexUnitRoyaleApplication.swf
> >
> >
> >
> > I don't see any errors in the log that you posted. What you posted 
> > is normal output that is displayed both when the tests pass and when 
> > they fail. These tests are passing successfully on the CI server.
> >
> >
> >
> > --
> >
> > Josh Tynjala
> >
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> >
> >
> >
> > On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve 
> > <mj...@iest.com>
> >
> > wrote:
> >
> >
> >
> > > 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\
> > > ro
> > > ya
> >
> > > le\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\r
> > oy
> > ale\FlexUnitRoyaleApplication.swf]
> >
> > > [royaleunit]    timeout: [90000ms]
> >
> > > [royaleunit]    toDir:
> >
> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test
> > > \r
> > > oy
> >
> > > ale\out] [royaleunit] Setting up server process ...
> >
> > > [royaleunit] Entry
> >
> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test
> > > \r
> > > oy
> >
> > > ale] 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 <jo...@bowlerhat.dev> Enviado el: jueves, 
> > > 25 de
> >
> > > marzo de 2021 18:41
> >
> > > Para: Apache Royale Development <de...@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 
> > > <mj...@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 <mj...@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\roy
> > > > +al
> > > > +e-
> >
> > > > +as
> >
> > > > +js-fork/frameworks/libs/player
> >
> > > >     [mxmlc]
> >
> > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-for
> > > > +k/
> > > > +fr
> >
> > > > +am
> >
> > > > +eworks/
> >
> > > >     [mxmlc]
> >
> > > >
> >
> > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra
> > > me
> > > 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] 69254 bytes written to
> >
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
> > > > pr
> >
> > > > oj 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\framework
> > > > s\
> > > > pr
> >
> > > > oj ects\XML\src\test\royale\out [royaleunit] Validating task
> >
> > > > attributes ...
> >
> > > > Error:Build stopped - build SDK with ANT
> >
> > > >
> >
> > > >
> >
> > > > -----Mensaje original-----
> >
> > > > De: Alina Kazi <al...@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
> >
> > > > <mj...@iest.com>
> >
> > > > wrote:
> >
> > > >
> >
> > > > > I do have that variable mapped
> >
> > > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
> >
> > > > >
> >
> > > > > -----Mensaje original-----
> >
> > > > > De: Alina Kazi <al...@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,
> >
> > > > > <mj...@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
> > > > > > +\r
> > > > > > +oy
> >
> > > > > > +al
> >
> > > > > > +e-
> >
> > > > > > +as
> >
> > > > > > +js-fork/frameworks/libs/player
> >
> > > > > >     [mxmlc]
> >
> > > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs
> > > > > > +-f
> > > > > > +or
> >
> > > > > > +k/
> >
> > > > > > +fr
> >
> > > > > > +am
> >
> > > > > > +eworks/
> >
> > > > > >     [mxmlc]
> >
> > > > > >
> >
> > > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork
> > > > > \f
> > > > > ra
> >
> > > > > me wo
> >
> > > > > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
> >
> > > > > >     [mxmlc] --
> >
> > > > > >     [mxmlc]
> >
> > > > > >
> >
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
> > > > > s\
> >
> > > > > pr oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
> >
> > > > > >     [mxmlc] Loading configuration:
> >
> > > > > >
> >
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
> > > > > s\
> >
> > > > > ro
> >
> > > > > ya
> >
> > > > > le-config.xml
> >
> > > > > >     [mxmlc] Loading configuration:
> >
> > > > > >
> >
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
> > > > > s\
> >
> > > > > 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\frame
> > > > > > wo
> > > > > > rk
> >
> > > > > > s\ 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\frame
> > > > > > wo
> > > > > > rk
> >
> > > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit] 
> > > > > > Validating
> >
> > > > > > task attributes ...
> >
> > > > > > Error:Build stopped - build SDK with ANT
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > -----Mensaje original-----
> >
> > > > > > De: Alina Kazi <al...@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,
> >
> > > > > > <mj...@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\frame
> > > > > > wo
> > > > > > rk
> >
> > > > > > s\ pr oj
> >
> > > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
> >
> > > > > > >     [mxmlc] Loading configuration:
> >
> > > > > > >
> >
> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame
> > > > > > wo
> > > > > > rk
> >
> > > > > > s\
> >
> > > > > > ro
> >
> > > > > > ya
> >
> > > > > > le-config.xml
> >
> > > > > > >     [mxmlc] Loading configuration:
> >
> > > > > > >
> >
> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame
> > > > > > wo
> > > > > > rk
> >
> > > > > > s\
> >
> > > > > > pr oj
> >
> > > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.
> > > > > > xm
> > > > > > l
> >
> > > > > > >     [mxmlc]
> >
> > > > > > >     [mxmlc] 94444 bytes written to
> >
> > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra
> > > > > > > me
> > > > > > > wo
> >
> > > > > > > rk
> >
> > > > > > > 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\fra
> > > > > > > me
> > > > > > > wo
> >
> > > > > > > rk 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\fram
> > > > > > ew
> > > > > > or
> >
> > > > > > ks \p ro
> >
> > > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> >
> > > > > > > [royaleunit]          timeout: [90000ms]
> >
> > > > > > > [royaleunit]          toDir:
> >
> > > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fr
> > > > > > > am
> > > > > > > ew
> >
> > > > > > > or 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.
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
>

Re: build SDK with ANT Error

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
Please try my latest royale-asjs commit. I think that it should work better
for you.

If you did not set FLASHPLAYER_DEBUGGER or FLEX_HOME before my changes, you
should not need to set them now. Additionally, as far as I know, FLEX_HOME
is not necessary for the build Royale at all, so you should not set it
unless you have some specific reason.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Mar 25, 2021 at 4:37 PM Maria Jose Esteve <mj...@iest.com> wrote:

> ... Same as last time with the execution of "ant clean", error. BUT I have
> removed an error handling block that my build .bat had and found out what
> happens:
>
> In the log file to which I redirect the execution of the bat, you can see
> the usual error:
>
> And in the command window now it shows the REAL PROBLEM:
>
>      [java] Java Result: 2
>      [java] Java Result: 2
>
> BUILD FAILED
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\build.xml:690: The
> following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:134:
> The following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:487:
> The following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\build.xml:68:
> The following error occurred while executing this line:
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\build.xml:110:
> The provided command path [D:\Develop_Royale\Projects\Apache-Flex\flex-sdk]
> is a directory, it must be an executable.
>
> [build.xml]
>
>     <target name="test">
>         <!-- Load the <royaleunit> task. We can't do this at the <project>
> level -->
>         <!-- because targets that run before royaleUnitTasks.jar gets
> built would fail. -->
>         <taskdef resource="royaleUnitTasks.tasks" classpathref="lib.path"/>
>                 <mkdir dir="${report.dir}" />
>         <!-- Use the env var if it is set, otherwise default to 'system'
> flash debugger  -->
>         <condition property="command" value="${env.FLASHPLAYER_DEBUGGER}"
> else="">
>             <isset property="env.FLASHPLAYER_DEBUGGER" />
>         </condition>
>         <royaleunit
>             command="${command}"
>             swf="${basedir}/FlexUnitRoyaleApplication.swf"
>                     workingDir="${basedir}"
>                     toDir="${report.dir}"
>                         haltonfailure="true"
>                         verbose="true"
>                         localTrusted="true"
>                         timeout="90000" />
> ******************************************************** line 110
>
>                 <!-- Generate readable JUnit-style reports -->
>                 <junitreport todir="${report.dir}">
>                         <fileset dir="${report.dir}">
>                                 <include name="TEST-*.xml" />
>                         </fileset>
>                         <report format="frames" todir="${report.dir}/html"
> />
>                 </junitreport>
>
>     </target>
>
> [Environment variables configured]
>
> FLASHPLAYER_DEBUGGER = D: \Apache \ flashplayer_32_sa_debug.exe
> FLEX_HOME = D:\Apache\Apache4.16.1_AIR32
>
> ... path [D: \ Develop_Royale \ Projects \ Apache-Flex \ flex-sdk] is the
> path where I have cloned the flex-sdk repo but I don't have any environment
> variable that has it assigned.
> How are you associating FLASHPLAYER_DEBUGGER with the local path of the
> flex-sdk repo?
>
> Hiedra
>
> -----Mensaje original-----
> De: Maria Jose Esteve <mj...@iest.com>
> Enviado el: jueves, 25 de marzo de 2021 23:33
> Para: dev@royale.apache.org
> Asunto: RE: build SDK with ANT Error
>
> TODAY I'M FATAL, ... FORGIVE ME ..
>
> I share the log of the last compilation [1] which is later than the
> previous one. Now I have the * .swf files associated with flashplayer, as
> Alina recommended this morning.
> The error, after those changes is different but it did not work either.
>
> [1]
> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view?usp=sharing
>
> I'm going to recompile by running ant clean on typesDefs and compiler. In
> asjs I have run a superclean ant since forever.
> (...)
>
>
> -----Mensaje original-----
> De: Maria Jose Esteve <mj...@iest.com> Enviado el: jueves, 25 de marzo
> de 2021 23:32
> Para: dev@royale.apache.org
> Asunto: RE: build SDK with ANT Error
>
> Comparto el log de la última compilación [1] que es posterior a la del
> correo anterior. Ahora tengo asociados los ficheros *.swf a flashplayer,
> como Alina me recomendó esta mañana.
> El error, tras esos cambios es diferente pero no funcionó tampoco.
>
> [1]
> https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view?usp=sharing
>
> Voy a volver a compilar ejecutando ant clean en typesDefs y en el
> compiler. En asjs ejecuto un ant superclean desde siempre.
> (...)
>
> -----Mensaje original-----
> De: Josh Tynjala <jo...@bowlerhat.dev> Enviado el: jueves, 25 de
> marzo de 2021 22:14
> Para: Apache Royale Development <de...@royale.apache.org>
> Asunto: Re: build SDK with ANT Error
>
> One thing that's interesting to me is that you should see more output
> about the test results after this line:
>
> > [royaleunit] Closing server on port [1024] ...
>
> If the tests fail, it should say that before the Ant build exits. It's
> almost like the RoyaleUnit runner or Flash Player is crashing.
>
> Please try running "ant clean" in all three repos. It might help.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve <mj...@iest.com>
> wrote:
>
> > Hahahaha really? Forgive my ignorance, I would not like to be wasting
> > your time ...
> >
> >
> >
> > > > > > > [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
> >
> >
> >
> > So ... do I have to think that the error is caused by the task
> > following FlexUnitRoyaleApplication? Okay, I do research ...
> >
> >
> >
> > Thx 😊
> >
> > Hiedra
> >
> >
> >
> > -----Mensaje original-----
> >
> > De: Josh Tynjala <jo...@bowlerhat.dev>
> >
> > Enviado el: jueves, 25 de marzo de 2021 20:19
> >
> > Para: Apache Royale Development <de...@royale.apache.org>
> >
> > Asunto: Re: build SDK with ANT Error
> >
> >
> >
> > > for example, the log of this compilation 264825 produces the same
> >
> > > error
> >
> > as me with FlexUnitRoyaleApplication.swf
> >
> >
> >
> > I don't see any errors in the log that you posted. What you posted is
> > normal output that is displayed both when the tests pass and when they
> > fail. These tests are passing successfully on the CI server.
> >
> >
> >
> > --
> >
> > Josh Tynjala
> >
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> >
> >
> >
> > On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve <mj...@iest.com>
> >
> > wrote:
> >
> >
> >
> > > 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\ro
> > > ya
> >
> > > le\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\roy
> > ale\FlexUnitRoyaleApplication.swf]
> >
> > > [royaleunit]    timeout: [90000ms]
> >
> > > [royaleunit]    toDir:
> >
> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > > oy
> >
> > > ale\out] [royaleunit] Setting up server process ...
> >
> > > [royaleunit] Entry
> >
> > > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > > oy
> >
> > > ale] 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 <jo...@bowlerhat.dev> Enviado el: jueves, 25
> > > de
> >
> > > marzo de 2021 18:41
> >
> > > Para: Apache Royale Development <de...@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
> > > <mj...@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 <mj...@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\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] 69254 bytes written to
> >
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\
> > > > pr
> >
> > > > oj 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\
> > > > pr
> >
> > > > oj ects\XML\src\test\royale\out [royaleunit] Validating task
> >
> > > > attributes ...
> >
> > > > Error:Build stopped - build SDK with ANT
> >
> > > >
> >
> > > >
> >
> > > > -----Mensaje original-----
> >
> > > > De: Alina Kazi <al...@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
> >
> > > > <mj...@iest.com>
> >
> > > > wrote:
> >
> > > >
> >
> > > > > I do have that variable mapped
> >
> > > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
> >
> > > > >
> >
> > > > > -----Mensaje original-----
> >
> > > > > De: Alina Kazi <al...@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,
> >
> > > > > <mj...@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\r
> > > > > > +oy
> >
> > > > > > +al
> >
> > > > > > +e-
> >
> > > > > > +as
> >
> > > > > > +js-fork/frameworks/libs/player
> >
> > > > > >     [mxmlc]
> >
> > > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-f
> > > > > > +or
> >
> > > > > > +k/
> >
> > > > > > +fr
> >
> > > > > > +am
> >
> > > > > > +eworks/
> >
> > > > > >     [mxmlc]
> >
> > > > > >
> >
> > > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\f
> > > > > ra
> >
> > > > > me wo
> >
> > > > > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
> >
> > > > > >     [mxmlc] --
> >
> > > > > >     [mxmlc]
> >
> > > > > >
> >
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > > s\
> >
> > > > > pr oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
> >
> > > > > >     [mxmlc] Loading configuration:
> >
> > > > > >
> >
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > > s\
> >
> > > > > ro
> >
> > > > > ya
> >
> > > > > le-config.xml
> >
> > > > > >     [mxmlc] Loading configuration:
> >
> > > > > >
> >
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > > s\
> >
> > > > > 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\framewo
> > > > > > rk
> >
> > > > > > s\ 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\framewo
> > > > > > rk
> >
> > > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit] Validating
> >
> > > > > > task attributes ...
> >
> > > > > > Error:Build stopped - build SDK with ANT
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > -----Mensaje original-----
> >
> > > > > > De: Alina Kazi <al...@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,
> >
> > > > > > <mj...@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\framewo
> > > > > > rk
> >
> > > > > > s\ pr oj
> >
> > > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
> >
> > > > > > >     [mxmlc] Loading configuration:
> >
> > > > > > >
> >
> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > > rk
> >
> > > > > > s\
> >
> > > > > > ro
> >
> > > > > > ya
> >
> > > > > > le-config.xml
> >
> > > > > > >     [mxmlc] Loading configuration:
> >
> > > > > > >
> >
> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > > rk
> >
> > > > > > s\
> >
> > > > > > pr oj
> >
> > > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xm
> > > > > > l
> >
> > > > > > >     [mxmlc]
> >
> > > > > > >     [mxmlc] 94444 bytes written to
> >
> > > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame
> > > > > > > wo
> >
> > > > > > > rk
> >
> > > > > > > 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\frame
> > > > > > > wo
> >
> > > > > > > rk 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\framew
> > > > > > or
> >
> > > > > > ks \p ro
> >
> > > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> >
> > > > > > > [royaleunit]          timeout: [90000ms]
> >
> > > > > > > [royaleunit]          toDir:
> >
> > > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fram
> > > > > > > ew
> >
> > > > > > > or 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.
> >
> > > > > > >
> >
> > > > > >
> >
> > > > >
> >
> > > >
> >
> > >
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
... Same as last time with the execution of "ant clean", error. BUT I have removed an error handling block that my build .bat had and found out what happens:

In the log file to which I redirect the execution of the bat, you can see the usual error:

And in the command window now it shows the REAL PROBLEM:

     [java] Java Result: 2
     [java] Java Result: 2

BUILD FAILED
D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\build.xml:690: The following error occurred while executing this line:
D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:134: The following error occurred while executing this line:
D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\build.xml:487: The following error occurred while executing this line:
D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\build.xml:68: The following error occurred while executing this line:
D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\XML\src\test\royale\build.xml:110: The provided command path [D:\Develop_Royale\Projects\Apache-Flex\flex-sdk] is a directory, it must be an executable.

[build.xml] 

    <target name="test">
        <!-- Load the <royaleunit> task. We can't do this at the <project> level -->
        <!-- because targets that run before royaleUnitTasks.jar gets built would fail. -->
        <taskdef resource="royaleUnitTasks.tasks" classpathref="lib.path"/>
		<mkdir dir="${report.dir}" />
        <!-- Use the env var if it is set, otherwise default to 'system' flash debugger  -->
        <condition property="command" value="${env.FLASHPLAYER_DEBUGGER}" else="">
            <isset property="env.FLASHPLAYER_DEBUGGER" />
        </condition>
        <royaleunit
            command="${command}"
            swf="${basedir}/FlexUnitRoyaleApplication.swf"
		    workingDir="${basedir}"
		    toDir="${report.dir}"
			haltonfailure="true"
			verbose="true"
			localTrusted="true"
			timeout="90000" /> ******************************************************** line 110
        
		<!-- Generate readable JUnit-style reports -->
		<junitreport todir="${report.dir}">
			<fileset dir="${report.dir}">
				<include name="TEST-*.xml" />
			</fileset>
			<report format="frames" todir="${report.dir}/html" />
		</junitreport>
        
    </target>

[Environment variables configured]

FLASHPLAYER_DEBUGGER = D: \Apache \ flashplayer_32_sa_debug.exe
FLEX_HOME = D:\Apache\Apache4.16.1_AIR32

... path [D: \ Develop_Royale \ Projects \ Apache-Flex \ flex-sdk] is the path where I have cloned the flex-sdk repo but I don't have any environment variable that has it assigned.
How are you associating FLASHPLAYER_DEBUGGER with the local path of the flex-sdk repo?

Hiedra

-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com> 
Enviado el: jueves, 25 de marzo de 2021 23:33
Para: dev@royale.apache.org
Asunto: RE: build SDK with ANT Error

TODAY I'M FATAL, ... FORGIVE ME ..

I share the log of the last compilation [1] which is later than the previous one. Now I have the * .swf files associated with flashplayer, as Alina recommended this morning.
The error, after those changes is different but it did not work either.

[1] https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view?usp=sharing

I'm going to recompile by running ant clean on typesDefs and compiler. In asjs I have run a superclean ant since forever.
(...)


-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com> Enviado el: jueves, 25 de marzo de 2021 23:32
Para: dev@royale.apache.org
Asunto: RE: build SDK with ANT Error

Comparto el log de la última compilación [1] que es posterior a la del correo anterior. Ahora tengo asociados los ficheros *.swf a flashplayer, como Alina me recomendó esta mañana.
El error, tras esos cambios es diferente pero no funcionó tampoco.

[1] https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view?usp=sharing

Voy a volver a compilar ejecutando ant clean en typesDefs y en el compiler. En asjs ejecuto un ant superclean desde siempre.
(...)

-----Mensaje original-----
De: Josh Tynjala <jo...@bowlerhat.dev> Enviado el: jueves, 25 de marzo de 2021 22:14
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: build SDK with ANT Error

One thing that's interesting to me is that you should see more output about the test results after this line:

> [royaleunit] Closing server on port [1024] ...

If the tests fail, it should say that before the Ant build exits. It's almost like the RoyaleUnit runner or Flash Player is crashing.

Please try running "ant clean" in all three repos. It might help.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve <mj...@iest.com> wrote:

> Hahahaha really? Forgive my ignorance, I would not like to be wasting 
> your time ...
>
>
>
> > > > > > [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
>
>
>
> So ... do I have to think that the error is caused by the task 
> following FlexUnitRoyaleApplication? Okay, I do research ...
>
>
>
> Thx 😊
>
> Hiedra
>
>
>
> -----Mensaje original-----
>
> De: Josh Tynjala <jo...@bowlerhat.dev>
>
> Enviado el: jueves, 25 de marzo de 2021 20:19
>
> Para: Apache Royale Development <de...@royale.apache.org>
>
> Asunto: Re: build SDK with ANT Error
>
>
>
> > for example, the log of this compilation 264825 produces the same
>
> > error
>
> as me with FlexUnitRoyaleApplication.swf
>
>
>
> I don't see any errors in the log that you posted. What you posted is 
> normal output that is displayed both when the tests pass and when they 
> fail. These tests are passing successfully on the CI server.
>
>
>
> --
>
> Josh Tynjala
>
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
>
>
>
> On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve <mj...@iest.com>
>
> wrote:
>
>
>
> > 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\ro
> > ya
>
> > le\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\roy
> ale\FlexUnitRoyaleApplication.swf]
>
> > [royaleunit]    timeout: [90000ms]
>
> > [royaleunit]    toDir:
>
> > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > oy
>
> > ale\out] [royaleunit] Setting up server process ...
>
> > [royaleunit] Entry
>
> > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > oy
>
> > ale] 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 <jo...@bowlerhat.dev> Enviado el: jueves, 25 
> > de
>
> > marzo de 2021 18:41
>
> > Para: Apache Royale Development <de...@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 
> > <mj...@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 <mj...@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\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] 69254 bytes written to
>
> > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\
> > > pr
>
> > > oj 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\
> > > pr
>
> > > oj ects\XML\src\test\royale\out [royaleunit] Validating task
>
> > > attributes ...
>
> > > Error:Build stopped - build SDK with ANT
>
> > >
>
> > >
>
> > > -----Mensaje original-----
>
> > > De: Alina Kazi <al...@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
>
> > > <mj...@iest.com>
>
> > > wrote:
>
> > >
>
> > > > I do have that variable mapped
>
> > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
>
> > > >
>
> > > > -----Mensaje original-----
>
> > > > De: Alina Kazi <al...@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,
>
> > > > <mj...@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\r
> > > > > +oy
>
> > > > > +al
>
> > > > > +e-
>
> > > > > +as
>
> > > > > +js-fork/frameworks/libs/player
>
> > > > >     [mxmlc]
>
> > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-f
> > > > > +or
>
> > > > > +k/
>
> > > > > +fr
>
> > > > > +am
>
> > > > > +eworks/
>
> > > > >     [mxmlc]
>
> > > > >
>
> > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\f
> > > > ra
>
> > > > me wo
>
> > > > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
>
> > > > >     [mxmlc] --
>
> > > > >     [mxmlc]
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > pr oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > > > >     [mxmlc] Loading configuration:
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > ro
>
> > > > ya
>
> > > > le-config.xml
>
> > > > >     [mxmlc] Loading configuration:
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > 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\framewo
> > > > > rk
>
> > > > > s\ 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\framewo
> > > > > rk
>
> > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit] Validating
>
> > > > > task attributes ...
>
> > > > > Error:Build stopped - build SDK with ANT
>
> > > > >
>
> > > > >
>
> > > > > -----Mensaje original-----
>
> > > > > De: Alina Kazi <al...@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,
>
> > > > > <mj...@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\framewo
> > > > > rk
>
> > > > > s\ pr oj
>
> > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
>
> > > > > s\
>
> > > > > ro
>
> > > > > ya
>
> > > > > le-config.xml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
>
> > > > > s\
>
> > > > > pr oj
>
> > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xm
> > > > > l
>
> > > > > >     [mxmlc]
>
> > > > > >     [mxmlc] 94444 bytes written to
>
> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame
> > > > > > wo
>
> > > > > > rk
>
> > > > > > 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\frame
> > > > > > wo
>
> > > > > > rk 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\framew
> > > > > or
>
> > > > > ks \p ro
>
> > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
>
> > > > > > [royaleunit]          timeout: [90000ms]
>
> > > > > > [royaleunit]          toDir:
>
> > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fram
> > > > > > ew
>
> > > > > > or 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.
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
TODAY I'M FATAL, ... FORGIVE ME ..

I share the log of the last compilation [1] which is later than the previous one. Now I have the * .swf files associated with flashplayer, as Alina recommended this morning.
The error, after those changes is different but it did not work either.

[1] https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view?usp=sharing

I'm going to recompile by running ant clean on typesDefs and compiler. In asjs I have run a superclean ant since forever.
(...)


-----Mensaje original-----
De: Maria Jose Esteve <mj...@iest.com> 
Enviado el: jueves, 25 de marzo de 2021 23:32
Para: dev@royale.apache.org
Asunto: RE: build SDK with ANT Error

Comparto el log de la última compilación [1] que es posterior a la del correo anterior. Ahora tengo asociados los ficheros *.swf a flashplayer, como Alina me recomendó esta mañana.
El error, tras esos cambios es diferente pero no funcionó tampoco.

[1] https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view?usp=sharing

Voy a volver a compilar ejecutando ant clean en typesDefs y en el compiler. En asjs ejecuto un ant superclean desde siempre.
(...)

-----Mensaje original-----
De: Josh Tynjala <jo...@bowlerhat.dev> Enviado el: jueves, 25 de marzo de 2021 22:14
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: build SDK with ANT Error

One thing that's interesting to me is that you should see more output about the test results after this line:

> [royaleunit] Closing server on port [1024] ...

If the tests fail, it should say that before the Ant build exits. It's almost like the RoyaleUnit runner or Flash Player is crashing.

Please try running "ant clean" in all three repos. It might help.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve <mj...@iest.com> wrote:

> Hahahaha really? Forgive my ignorance, I would not like to be wasting 
> your time ...
>
>
>
> > > > > > [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
>
>
>
> So ... do I have to think that the error is caused by the task 
> following FlexUnitRoyaleApplication? Okay, I do research ...
>
>
>
> Thx 😊
>
> Hiedra
>
>
>
> -----Mensaje original-----
>
> De: Josh Tynjala <jo...@bowlerhat.dev>
>
> Enviado el: jueves, 25 de marzo de 2021 20:19
>
> Para: Apache Royale Development <de...@royale.apache.org>
>
> Asunto: Re: build SDK with ANT Error
>
>
>
> > for example, the log of this compilation 264825 produces the same
>
> > error
>
> as me with FlexUnitRoyaleApplication.swf
>
>
>
> I don't see any errors in the log that you posted. What you posted is 
> normal output that is displayed both when the tests pass and when they 
> fail. These tests are passing successfully on the CI server.
>
>
>
> --
>
> Josh Tynjala
>
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
>
>
>
> On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve <mj...@iest.com>
>
> wrote:
>
>
>
> > 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\ro
> > ya
>
> > le\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\roy
> ale\FlexUnitRoyaleApplication.swf]
>
> > [royaleunit]    timeout: [90000ms]
>
> > [royaleunit]    toDir:
>
> > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > oy
>
> > ale\out] [royaleunit] Setting up server process ...
>
> > [royaleunit] Entry
>
> > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > oy
>
> > ale] 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 <jo...@bowlerhat.dev> Enviado el: jueves, 25 
> > de
>
> > marzo de 2021 18:41
>
> > Para: Apache Royale Development <de...@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 
> > <mj...@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 <mj...@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\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] 69254 bytes written to
>
> > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\
> > > pr
>
> > > oj 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\
> > > pr
>
> > > oj ects\XML\src\test\royale\out [royaleunit] Validating task
>
> > > attributes ...
>
> > > Error:Build stopped - build SDK with ANT
>
> > >
>
> > >
>
> > > -----Mensaje original-----
>
> > > De: Alina Kazi <al...@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
>
> > > <mj...@iest.com>
>
> > > wrote:
>
> > >
>
> > > > I do have that variable mapped
>
> > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
>
> > > >
>
> > > > -----Mensaje original-----
>
> > > > De: Alina Kazi <al...@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,
>
> > > > <mj...@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\r
> > > > > +oy
>
> > > > > +al
>
> > > > > +e-
>
> > > > > +as
>
> > > > > +js-fork/frameworks/libs/player
>
> > > > >     [mxmlc]
>
> > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-f
> > > > > +or
>
> > > > > +k/
>
> > > > > +fr
>
> > > > > +am
>
> > > > > +eworks/
>
> > > > >     [mxmlc]
>
> > > > >
>
> > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\f
> > > > ra
>
> > > > me wo
>
> > > > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
>
> > > > >     [mxmlc] --
>
> > > > >     [mxmlc]
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > pr oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > > > >     [mxmlc] Loading configuration:
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > ro
>
> > > > ya
>
> > > > le-config.xml
>
> > > > >     [mxmlc] Loading configuration:
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > 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\framewo
> > > > > rk
>
> > > > > s\ 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\framewo
> > > > > rk
>
> > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit] Validating
>
> > > > > task attributes ...
>
> > > > > Error:Build stopped - build SDK with ANT
>
> > > > >
>
> > > > >
>
> > > > > -----Mensaje original-----
>
> > > > > De: Alina Kazi <al...@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,
>
> > > > > <mj...@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\framewo
> > > > > rk
>
> > > > > s\ pr oj
>
> > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
>
> > > > > s\
>
> > > > > ro
>
> > > > > ya
>
> > > > > le-config.xml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
>
> > > > > s\
>
> > > > > pr oj
>
> > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xm
> > > > > l
>
> > > > > >     [mxmlc]
>
> > > > > >     [mxmlc] 94444 bytes written to
>
> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame
> > > > > > wo
>
> > > > > > rk
>
> > > > > > 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\frame
> > > > > > wo
>
> > > > > > rk 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\framew
> > > > > or
>
> > > > > ks \p ro
>
> > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
>
> > > > > > [royaleunit]          timeout: [90000ms]
>
> > > > > > [royaleunit]          toDir:
>
> > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fram
> > > > > > ew
>
> > > > > > or 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.
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
Comparto el log de la última compilación [1] que es posterior a la del correo anterior. Ahora tengo asociados los ficheros *.swf a flashplayer, como Alina me recomendó esta mañana.
El error, tras esos cambios es diferente pero no funcionó tampoco.

[1] https://drive.google.com/file/d/1dwRNwKQTvxoKXCnkhrs_zw30pv38tI8v/view?usp=sharing

Voy a volver a compilar ejecutando ant clean en typesDefs y en el compiler. En asjs ejecuto un ant superclean desde siempre.
(...)

-----Mensaje original-----
De: Josh Tynjala <jo...@bowlerhat.dev> 
Enviado el: jueves, 25 de marzo de 2021 22:14
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: build SDK with ANT Error

One thing that's interesting to me is that you should see more output about the test results after this line:

> [royaleunit] Closing server on port [1024] ...

If the tests fail, it should say that before the Ant build exits. It's almost like the RoyaleUnit runner or Flash Player is crashing.

Please try running "ant clean" in all three repos. It might help.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve <mj...@iest.com> wrote:

> Hahahaha really? Forgive my ignorance, I would not like to be wasting 
> your time ...
>
>
>
> > > > > > [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
>
>
>
> So ... do I have to think that the error is caused by the task 
> following FlexUnitRoyaleApplication? Okay, I do research ...
>
>
>
> Thx 😊
>
> Hiedra
>
>
>
> -----Mensaje original-----
>
> De: Josh Tynjala <jo...@bowlerhat.dev>
>
> Enviado el: jueves, 25 de marzo de 2021 20:19
>
> Para: Apache Royale Development <de...@royale.apache.org>
>
> Asunto: Re: build SDK with ANT Error
>
>
>
> > for example, the log of this compilation 264825 produces the same
>
> > error
>
> as me with FlexUnitRoyaleApplication.swf
>
>
>
> I don't see any errors in the log that you posted. What you posted is 
> normal output that is displayed both when the tests pass and when they 
> fail. These tests are passing successfully on the CI server.
>
>
>
> --
>
> Josh Tynjala
>
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
>
>
>
> On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve <mj...@iest.com>
>
> wrote:
>
>
>
> > 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\ro
> > ya
>
> > le\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\roy
> ale\FlexUnitRoyaleApplication.swf]
>
> > [royaleunit]    timeout: [90000ms]
>
> > [royaleunit]    toDir:
>
> > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > oy
>
> > ale\out] [royaleunit] Setting up server process ...
>
> > [royaleunit] Entry
>
> > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\r
> > oy
>
> > ale] 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 <jo...@bowlerhat.dev> Enviado el: jueves, 25 
> > de
>
> > marzo de 2021 18:41
>
> > Para: Apache Royale Development <de...@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 
> > <mj...@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 <mj...@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\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] 69254 bytes written to
>
> > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\
> > > pr
>
> > > oj 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\
> > > pr
>
> > > oj ects\XML\src\test\royale\out [royaleunit] Validating task
>
> > > attributes ...
>
> > > Error:Build stopped - build SDK with ANT
>
> > >
>
> > >
>
> > > -----Mensaje original-----
>
> > > De: Alina Kazi <al...@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
>
> > > <mj...@iest.com>
>
> > > wrote:
>
> > >
>
> > > > I do have that variable mapped
>
> > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
>
> > > >
>
> > > > -----Mensaje original-----
>
> > > > De: Alina Kazi <al...@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,
>
> > > > <mj...@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\r
> > > > > +oy
>
> > > > > +al
>
> > > > > +e-
>
> > > > > +as
>
> > > > > +js-fork/frameworks/libs/player
>
> > > > >     [mxmlc]
>
> > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-f
> > > > > +or
>
> > > > > +k/
>
> > > > > +fr
>
> > > > > +am
>
> > > > > +eworks/
>
> > > > >     [mxmlc]
>
> > > > >
>
> > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\f
> > > > ra
>
> > > > me wo
>
> > > > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
>
> > > > >     [mxmlc] --
>
> > > > >     [mxmlc]
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > pr oj ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > > > >     [mxmlc] Loading configuration:
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > ro
>
> > > > ya
>
> > > > le-config.xml
>
> > > > >     [mxmlc] Loading configuration:
>
> > > > >
>
> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
> > > > s\
>
> > > > 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\framewo
> > > > > rk
>
> > > > > s\ 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\framewo
> > > > > rk
>
> > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit] Validating
>
> > > > > task attributes ...
>
> > > > > Error:Build stopped - build SDK with ANT
>
> > > > >
>
> > > > >
>
> > > > > -----Mensaje original-----
>
> > > > > De: Alina Kazi <al...@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,
>
> > > > > <mj...@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\framewo
> > > > > rk
>
> > > > > s\ pr oj
>
> > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
>
> > > > > s\
>
> > > > > ro
>
> > > > > ya
>
> > > > > le-config.xml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
> > > > > rk
>
> > > > > s\
>
> > > > > pr oj
>
> > > > > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xm
> > > > > l
>
> > > > > >     [mxmlc]
>
> > > > > >     [mxmlc] 94444 bytes written to
>
> > > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frame
> > > > > > wo
>
> > > > > > rk
>
> > > > > > 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\frame
> > > > > > wo
>
> > > > > > rk 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\framew
> > > > > or
>
> > > > > ks \p ro
>
> > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
>
> > > > > > [royaleunit]          timeout: [90000ms]
>
> > > > > > [royaleunit]          toDir:
>
> > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fram
> > > > > > ew
>
> > > > > > or 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.
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
>

Re: build SDK with ANT Error

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
One thing that's interesting to me is that you should see more output about
the test results after this line:

> [royaleunit] Closing server on port [1024] ...

If the tests fail, it should say that before the Ant build exits. It's
almost like the RoyaleUnit runner or Flash Player is crashing.

Please try running "ant clean" in all three repos. It might help.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Mar 25, 2021 at 2:03 PM Maria Jose Esteve <mj...@iest.com> wrote:

> Hahahaha really? Forgive my ignorance, I would not like to be wasting your
> time ...
>
>
>
> > > > > > [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
>
>
>
> So ... do I have to think that the error is caused by the task following
> FlexUnitRoyaleApplication? Okay, I do research ...
>
>
>
> Thx 😊
>
> Hiedra
>
>
>
> -----Mensaje original-----
>
> De: Josh Tynjala <jo...@bowlerhat.dev>
>
> Enviado el: jueves, 25 de marzo de 2021 20:19
>
> Para: Apache Royale Development <de...@royale.apache.org>
>
> Asunto: Re: build SDK with ANT Error
>
>
>
> > for example, the log of this compilation 264825 produces the same
>
> > error
>
> as me with FlexUnitRoyaleApplication.swf
>
>
>
> I don't see any errors in the log that you posted. What you posted is
> normal output that is displayed both when the tests pass and when they
> fail. These tests are passing successfully on the CI server.
>
>
>
> --
>
> Josh Tynjala
>
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
>
>
>
> On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve <mj...@iest.com>
>
> wrote:
>
>
>
> > 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\roya
>
> > le\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\roy
>
> > ale\out] [royaleunit] Setting up server process ...
>
> > [royaleunit] Entry
>
> > [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\roy
>
> > ale] 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 <jo...@bowlerhat.dev> Enviado el: jueves, 25 de
>
> > marzo de 2021 18:41
>
> > Para: Apache Royale Development <de...@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 <mj...@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 <mj...@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/fr
>
> > > +am
>
> > > +eworks/
>
> > >     [mxmlc]
>
> > >
>
> > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo
>
> > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
>
> > >     [mxmlc] --
>
> > >     [mxmlc]
>
> > >
>
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
>
> > ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > >     [mxmlc] Loading configuration:
>
> > >
>
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\roya
>
> > le-config.xml
>
> > >     [mxmlc] Loading configuration:
>
> > >
>
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
>
> > ects\XML\src\test\royale\FlexUnitRoyaleApplication-config.xml
>
> > >     [mxmlc]
>
> > >     [mxmlc] 69254 bytes written to
>
> > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\pr
>
> > > oj 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\pr
>
> > > oj ects\XML\src\test\royale\out [royaleunit] Validating task
>
> > > attributes ...
>
> > > Error:Build stopped - build SDK with ANT
>
> > >
>
> > >
>
> > > -----Mensaje original-----
>
> > > De: Alina Kazi <al...@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
>
> > > <mj...@iest.com>
>
> > > wrote:
>
> > >
>
> > > > I do have that variable mapped
>
> > > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
>
> > > >
>
> > > > -----Mensaje original-----
>
> > > > De: Alina Kazi <al...@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,
>
> > > > <mj...@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\roy
>
> > > > > +al
>
> > > > > +e-
>
> > > > > +as
>
> > > > > +js-fork/frameworks/libs/player
>
> > > > >     [mxmlc]
>
> > > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-for
>
> > > > > +k/
>
> > > > > +fr
>
> > > > > +am
>
> > > > > +eworks/
>
> > > > >     [mxmlc]
>
> > > > >
>
> > > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra
>
> > > > me 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\framework
>
> > > > > s\ 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\framework
>
> > > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit] Validating
>
> > > > > task attributes ...
>
> > > > > Error:Build stopped - build SDK with ANT
>
> > > > >
>
> > > > >
>
> > > > > -----Mensaje original-----
>
> > > > > De: Alina Kazi <al...@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,
>
> > > > > <mj...@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\framework
>
> > > > > s\ pr oj
>
> > > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
>
> > > > > s\
>
> > > > > ro
>
> > > > > ya
>
> > > > > le-config.xml
>
> > > > > >     [mxmlc] Loading configuration:
>
> > > > > >
>
> > > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework
>
> > > > > s\
>
> > > > > 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\framewo
>
> > > > > > rk
>
> > > > > > 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\framewo
>
> > > > > > rk 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\framewor
>
> > > > > ks \p ro
>
> > > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
>
> > > > > > [royaleunit]          timeout: [90000ms]
>
> > > > > > [royaleunit]          toDir:
>
> > > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framew
>
> > > > > > or 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.
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
Hahahaha really? Forgive my ignorance, I would not like to be wasting your time ...



> > > > > [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



So ... do I have to think that the error is caused by the task following FlexUnitRoyaleApplication? Okay, I do research ...



Thx 😊

Hiedra



-----Mensaje original-----

De: Josh Tynjala <jo...@bowlerhat.dev>

Enviado el: jueves, 25 de marzo de 2021 20:19

Para: Apache Royale Development <de...@royale.apache.org>

Asunto: Re: build SDK with ANT Error



> for example, the log of this compilation 264825 produces the same

> error

as me with FlexUnitRoyaleApplication.swf



I don't see any errors in the log that you posted. What you posted is normal output that is displayed both when the tests pass and when they fail. These tests are passing successfully on the CI server.



--

Josh Tynjala

Bowler Hat LLC <https://bowlerhat.dev>





On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve <mj...@iest.com>

wrote:



> 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\roya

> le\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\roy

> ale\out] [royaleunit] Setting up server process ...

> [royaleunit] Entry

> [C:\jenkins\workspace\royale-asjs\frameworks\projects\XML\src\test\roy

> ale] 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 <jo...@bowlerhat.dev> Enviado el: jueves, 25 de

> marzo de 2021 18:41

> Para: Apache Royale Development <de...@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 <mj...@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 <mj...@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/fr

> > +am

> > +eworks/

> >     [mxmlc]

> >

> -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framewo

> rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf

> >     [mxmlc] --

> >     [mxmlc]

> >

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj

> ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml

> >     [mxmlc] Loading configuration:

> >

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\roya

> le-config.xml

> >     [mxmlc] Loading configuration:

> >

> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj

> ects\XML\src\test\royale\FlexUnitRoyaleApplication-config.xml

> >     [mxmlc]

> >     [mxmlc] 69254 bytes written to

> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\pr

> > oj 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\pr

> > oj ects\XML\src\test\royale\out [royaleunit] Validating task

> > attributes ...

> > Error:Build stopped - build SDK with ANT

> >

> >

> > -----Mensaje original-----

> > De: Alina Kazi <al...@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

> > <mj...@iest.com>

> > wrote:

> >

> > > I do have that variable mapped

> > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe

> > >

> > > -----Mensaje original-----

> > > De: Alina Kazi <al...@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,

> > > <mj...@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\roy

> > > > +al

> > > > +e-

> > > > +as

> > > > +js-fork/frameworks/libs/player

> > > >     [mxmlc]

> > > > +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-for

> > > > +k/

> > > > +fr

> > > > +am

> > > > +eworks/

> > > >     [mxmlc]

> > > >

> > > -output=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\fra

> > > me 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\framework

> > > > s\ 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\framework

> > > > s\ pr oj ects\XML\src\test\royale\out [royaleunit] Validating

> > > > task attributes ...

> > > > Error:Build stopped - build SDK with ANT

> > > >

> > > >

> > > > -----Mensaje original-----

> > > > De: Alina Kazi <al...@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,

> > > > <mj...@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\framework

> > > > s\ pr oj

> > > > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml

> > > > >     [mxmlc] Loading configuration:

> > > > >

> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework

> > > > s\

> > > > ro

> > > > ya

> > > > le-config.xml

> > > > >     [mxmlc] Loading configuration:

> > > > >

> > > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framework

> > > > s\

> > > > 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\framewo

> > > > > rk

> > > > > 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\framewo

> > > > > rk 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\framewor

> > > > ks \p ro

> > > > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]

> > > > > [royaleunit]          timeout: [90000ms]

> > > > > [royaleunit]          toDir:

> > > > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\framew

> > > > > or 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.

> > > > >

> > > >

> > >

> >

>

Re: build SDK with ANT Error

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
> for example, the log of this compilation 264825 produces the same error
as me with FlexUnitRoyaleApplication.swf

I don't see any errors in the log that you posted. What you posted is
normal output that is displayed both when the tests pass and when they
fail. These tests are passing successfully on the CI server.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Mar 25, 2021 at 11:36 AM Maria Jose Esteve <mj...@iest.com>
wrote:

> 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 <jo...@bowlerhat.dev>
> Enviado el: jueves, 25 de marzo de 2021 18:41
> Para: Apache Royale Development <de...@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 <mj...@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 <mj...@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 <al...@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 <mj...@iest.com>
> > wrote:
> >
> > > I do have that variable mapped
> > > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
> > >
> > > -----Mensaje original-----
> > > De: Alina Kazi <al...@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, <mj...@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 <al...@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,
> > > > <mj...@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.
> > > > >
> > > >
> > >
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
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 <jo...@bowlerhat.dev> 
Enviado el: jueves, 25 de marzo de 2021 18:41
Para: Apache Royale Development <de...@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 <mj...@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 <mj...@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 <al...@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 <mj...@iest.com>
> wrote:
>
> > I do have that variable mapped
> > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
> >
> > -----Mensaje original-----
> > De: Alina Kazi <al...@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, <mj...@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 <al...@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, 
> > > <mj...@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.
> > > >
> > >
> >
>

Re: build SDK with ANT Error

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <mj...@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 <mj...@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-asjs-fork/frameworks/libs/player
>     [mxmlc]
> +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork/frameworks/
>     [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\projects\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\projects\XML\src\test\royale\out
> [royaleunit] Validating task attributes ...
> Error:Build stopped - build SDK with ANT
>
>
> -----Mensaje original-----
> De: Alina Kazi <al...@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 <mj...@iest.com>
> wrote:
>
> > I do have that variable mapped
> > FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
> >
> > -----Mensaje original-----
> > De: Alina Kazi <al...@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, <mj...@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\royale-
> > > +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\framewo
> > rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
> > >     [mxmlc] --
> > >     [mxmlc]
> > >
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> > ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
> > >     [mxmlc] Loading configuration:
> > >
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\roya
> > le-config.xml
> > >     [mxmlc] Loading configuration:
> > >
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> > 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 <al...@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, <mj...@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\frameworks\
> > > > 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\frameworks\
> > > > 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\frameworks
> > > > \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.
> > > >
> > >
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
I compile with the last commit valid for me: 646af1c173dddb2aeff89528ec354a6807960cac
Isn't it happening to anyone else?

Hiedra

-----Mensaje original-----
De: Maria Jose Esteve <mj...@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-asjs-fork/frameworks/libs/player
    [mxmlc] +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork/frameworks/
    [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\projects\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\projects\XML\src\test\royale\out
[royaleunit] Validating task attributes ...
Error:Build stopped - build SDK with ANT


-----Mensaje original-----
De: Alina Kazi <al...@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 <mj...@iest.com> wrote:

> I do have that variable mapped
> FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
>
> -----Mensaje original-----
> De: Alina Kazi <al...@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, <mj...@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\royale-
> > +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\framewo
> rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
> >     [mxmlc] --
> >     [mxmlc]
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
> >     [mxmlc] Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\roya
> le-config.xml
> >     [mxmlc] Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> 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 <al...@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, <mj...@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\frameworks\
> > > 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\frameworks\
> > > 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\frameworks
> > > \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.
> > >
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
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-asjs-fork/frameworks/libs/player
    [mxmlc] +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork/frameworks/
    [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\projects\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\projects\XML\src\test\royale\out
[royaleunit] Validating task attributes ...
Error:Build stopped - build SDK with ANT


-----Mensaje original-----
De: Alina Kazi <al...@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 <mj...@iest.com> wrote:

> I do have that variable mapped
> FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
>
> -----Mensaje original-----
> De: Alina Kazi <al...@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, <mj...@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\royale-
> > +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\framewo
> rks\projects\XML\src\test\royale\FlexUnitRoyaleApplication.swf
> >     [mxmlc] --
> >     [mxmlc]
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> ects\XML\src\test\royale/FlexUnitRoyaleApplication.mxml
> >     [mxmlc] Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\roya
> le-config.xml
> >     [mxmlc] Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> 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 <al...@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, <mj...@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\frameworks\
> > > 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\frameworks\
> > > 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\frameworks
> > > \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.
> > >
> >
>

Re: build SDK with ANT Error

Posted by Alina Kazi <al...@apache.org>.
You passed the last error ,right?

On Thu, Mar 25, 2021 at 2:43 PM Maria Jose Esteve <mj...@iest.com> wrote:

> I do have that variable mapped
> FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe
>
> -----Mensaje original-----
> De: Alina Kazi <al...@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, <mj...@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\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]
> >
> 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\proj
> > 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\proj
> > ects\XML\src\test\royale\out [royaleunit] Validating task attributes
> > ...
> > Error:Build stopped - build SDK with ANT
> >
> >
> > -----Mensaje original-----
> > De: Alina Kazi <al...@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, <mj...@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\proj
> > ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
> > >     [mxmlc] Loading configuration:
> > >
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\roya
> > le-config.xml
> > >     [mxmlc] Loading configuration:
> > >
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> > ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml
> > >     [mxmlc]
> > >     [mxmlc] 94444 bytes written to
> > > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\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\frameworks\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\pro
> > jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> > > [royaleunit]          timeout: [90000ms]
> > > [royaleunit]          toDir:
> > > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\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.
> > >
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
I do have that variable mapped
FLASHPLAYER_DEBUGGER = D:\Apache\flashplayer_32_sa_debug.exe

-----Mensaje original-----
De: Alina Kazi <al...@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, <mj...@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\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]
> 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\proj
> 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\proj
> ects\XML\src\test\royale\out [royaleunit] Validating task attributes 
> ...
> Error:Build stopped - build SDK with ANT
>
>
> -----Mensaje original-----
> De: Alina Kazi <al...@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, <mj...@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\proj
> ects\Basic\src\test\royale/FlexUnitRoyaleApplication.mxml
> >     [mxmlc] Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\roya
> le-config.xml
> >     [mxmlc] Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> ects\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml
> >     [mxmlc]
> >     [mxmlc] 94444 bytes written to
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\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\frameworks\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\pro
> jects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> > [royaleunit]          timeout: [90000ms]
> > [royaleunit]          toDir:
> > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\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.
> >
>

Re: build SDK with ANT Error

Posted by Alina Kazi <al...@apache.org>.
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, <mj...@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\royale-asjs-fork/frameworks/libs/player
>     [mxmlc]
> +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork/frameworks/
>     [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]
> 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\projects\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\projects\XML\src\test\royale\out
> [royaleunit] Validating task attributes ...
> Error:Build stopped - build SDK with ANT
>
>
> -----Mensaje original-----
> De: Alina Kazi <al...@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, <mj...@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\projects\Basic\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\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml
> >     [mxmlc]
> >     [mxmlc] 94444 bytes written to
> > D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> > 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\frameworks\proj
> > 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\projects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> > [royaleunit]          timeout: [90000ms]
> > [royaleunit]          toDir:
> > [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\pro
> > 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.
> >
>

RE: build SDK with ANT Error

Posted by Maria Jose Esteve <mj...@iest.com>.
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\royale-asjs-fork/frameworks/libs/player
    [mxmlc] +royalelib=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork/frameworks/
    [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] 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\projects\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\projects\XML\src\test\royale\out
[royaleunit] Validating task attributes ...
Error:Build stopped - build SDK with ANT


-----Mensaje original-----
De: Alina Kazi <al...@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, <mj...@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\projects\Basic\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\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml
>     [mxmlc]
>     [mxmlc] 94444 bytes written to
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\proj
> 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\frameworks\proj
> 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\projects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> [royaleunit]          timeout: [90000ms]
> [royaleunit]          toDir:
> [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\pro
> 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.
>

Re: build SDK with ANT Error

Posted by Alina Kazi <al...@gmail.com>.
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, <mj...@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\projects\Basic\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\Basic\src\test\royale\FlexUnitRoyaleApplication-config.xml
>     [mxmlc]
>     [mxmlc] 94444 bytes written to
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\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\frameworks\projects\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\projects\Basic\src\test\royale\FlexUnitRoyaleApplication.swf]
> [royaleunit]          timeout: [90000ms]
> [royaleunit]          toDir:
> [D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\projects\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.
>