Sometimes, while running "ant" to do a full build, and during a project
test (especially Basic), it will open Adobe Flash Player 32 and wait for
me to manually open the given FlexUnitRoyaleApplication.swf before the
test runs.
Is this normal, or a race condition? It gets old quickly when doing a
full build and many projects.
(ant basictests works fine.)
Here's an example:
test:
[mkdir] Created dir:
c:\somewhere\royale-asjs\frameworks\projects\Network\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:\somewhere\royale-asjs]
[royaleunit] haltonfailure: [true]
[royaleunit] headless: [false]
[royaleunit] display: [99]
[royaleunit] localTrusted: [true]
[royaleunit] player: [flash]
[royaleunit] port: [1024]
[royaleunit] swf:
[c:\somewhere\royale-asjs\frameworks\projects\Network\src\test\royale\FlexUnitRoyaleApplication.swf]
[royaleunit] timeout: [90000ms]
[royaleunit] toDir:
[c:\somewhere\royale-asjs\frameworks\projects\Network\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] Entry
[c:\somewhere\royale-asjs\frameworks\projects\Network\src\test\royale]
already available in local trust file at
[C:\Users\myuser\AppData\Roaming\Macromedia\Flash
Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'rundll32' with arguments:
[royaleunit] 'url.dll,FileProtocolHandler'
[royaleunit]
'c:\somewhere\royale-asjs\frameworks\projects\Network\src\test\royale\FlexUnitRoyaleApplication.swf'
[royaleunit]
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit]
And then it hangs until I switch to the Adobe Flash Player 32 window
(that it spawned) and I manually open:
c:\somewhere\royale-asjs\frameworks\projects\Network\src\test\royale\FlexUnitRoyaleApplication.swf