Windows player selection
in working flexunit i've noticed following output when running on windows:
[flexunit] launching player:
[flexunit] executing 'rundll32' arguments:
[flexunit] 'url.dll,fileprotocolhandler'
[flexunit] 'path_to_test.swf'
for developers have installed flexbuilder execution method working fine. when developers not have flexbuilder installed run tests hang , time out because flash movie never started because os doesn't have handler .swf files registered. can work around creating handler given machine.
i'm curious know if there way ant task can use player sdk pointed flex_home instead of relying on operating system supply related player?
@edthorne - there feature request in place provide functionality in jira; please vote on can evaluate inclusion future releases. in mean time, if explicitly call specific flash player command using ant task, flexunit 4.1 support "command" property on ant task. property takes path executable you'd use launch flash player or adl command based on value of "player" property. has not yet been merged main flexunit master, if you'd give try, can download source @ http://github.com/blegros/flexunit. if find bugs or have feedback, welcome can improve project.
-brian
More discussions in Archived Spaces
adobe
Comments
Post a Comment