Skip navigation
Ygor Marwen
Currently Being Moderated

Can not run flexunit tests from ant

Mar 14, 2012 9:39 AM

Tags: #flexunit #ant


I'm trying to script test execution in order to integrate tests in Jenkins. I followed the wiki article here


The tests run successfully with Flash Builder but not with ant. I'm getting the following error:



VerifyError: Error #1014: The class flash.filesystem::FileStream could not be found


I think that this occurs because I'm using the flashplayer_11 as suggested in the wiki article and flashplayer does not load the airglobal.swc component.

I noticed that Flash Builder launches the ADL.exe process; whereas flexunit within ant tests launches flashplayer.exe.


Should I use ADL.exe with flexunit instead of Flash player ? In that case how to use adl argument in flexunnit ? I saw that Richard Lee has committed a fix to make flexunit support ADL arguments, how ?

Is there a solution to my problem ?


Thanks in advance.


  • Currently Being Moderated
    Mar 14, 2012 10:11 AM   in reply to Ygor Marwen



    It seems like you might be using the AIRCIListener... which requires AIR. You really just need the CIListener, which is the one you would use if you launch in Flash Player

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points