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 <alinakazi1...@gmail.com> 
Enviado el: jueves, 25 de marzo de 2021 8:56
Para: dev@royale.apache.org
Asunto: Re: build SDK with ANT Error

Right click on .swf file click "open with" and mark "always use this app to 
open .swf files" select flash player e.g. flashplayer_29_sa_debug.exe

Then try ANT again it should work.

Alina Kazi

On Thu, 25 Mar 2021, 5:41 AM Maria Jose Esteve, <mjest...@iest.com> wrote:

> Hi, I just downloaded the changes from the asjs repo and I cannot 
> compile successfully (I have checked the Jenkins log and it also occurs), the 
> error:
> (646af1c173dddb2aeff89528ec354a6807960cac)
>
>     [mxmlc]
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\frameworks\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.
>

Reply via email to