I am also assuming you had to rename the FlashPlayer.exe to flashplayer.exe, 
because Flexmojos tries to load an executable called flashplayer.exe. On 
Windows systems it will be able to find the FlashPlayer.exe because windows is 
case-insensitive, so you could name the file FLASHplayer.exe or whatsoever. On 
Linux however the file system is case-sensitive. Therefore getting 
flashplayer.exe will fail if the file is called FlashPlayer.exe because it's 
simply a different file.

Just to clear the confusion regarding the need to rename the FlashPlayer.exe

Chris

-----Ursprüngliche Nachricht-----
Von: wim.deblauwe [mailto:[email protected]] 
Gesendet: Dienstag, 24. Dezember 2013 17:03
An: [email protected]
Betreff: Running unit tests with flashplayer under wine

I want to set up a new build machine using Ubuntu 13.10 to build with flexmojos 
6 and Apache Flex. To be able to use a current flash player, I want to use the 
windows flashplayer with wine. I have managed to set this up, but now I get the 
following error popping up when I run the unit tests:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox
violation:
file:///Z|/home/wdb/flux/client%2Ddomain/target/test%2Dclasses/TestRunner.swf
cannot load data from 127.0.0.1:42188.
        at
net.flexmojos.oss.unitestingsupport::ControlSocket/connect()[D:\Projects\flexmojos6\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-support\src\main\flex\net\flexmojos\oss\unitestingsupport\ControlSocket.as:52]
        at
net.flexmojos.oss.unitestingsupport::TestApplication/runTests()[D:\Projects\flexmojos6\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-support\src\main\flex\net\flexmojos\oss\unitestingsupport\TestApplication.as:55]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at
mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:13413]
        at mx.core::UIComponent/set
initialized()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:1831]
        at
mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:850]
        at
mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]

Any idea what can be wrong?

regards,

Wim



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Running-unit-tests-with-flashplayer-under-wine-tp4284.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to