0 Replies Latest reply on Jan 22, 2015 1:39 AM by brinzn

    FlexUnit fails when doing ant-build




        I am trying to build a flex project (ActionScript/ robotleg), via ant-build. I am facing the below given error trace. But that works perfectly when I do a quick build.

      Not sure why it is not working in default build and working in quick build alone? Need some helping hands to fix this issue...


      [flexunit] ReferenceError: Error #1065: Variable com.aa.fs.extensions.connectivitymanager.vos::NetworkInfo is not defined.

      [flexunit] at _TestRunnerApp_FlexInit$/init()

      [flexunit] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\frame work\src\mx\managers\SystemManager.as:2815]

      [flexunit] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\framewo rks\projects\framework\src\mx\managers\SystemManager.as:2723]

      [flexunit] at flash.events::EventDispatcher/dispatchEventFunction()

      [flexunit] at flash.events::EventDispatcher/dispatchEvent()

      [flexunit] at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:542]

      [flexunit] at flash.utils::Timer/_timerDispatch()

      [flexunit] at flash.utils::Timer/tick()


      [flexunit] Stopping server ...

      [flexunit] End of test data reached, sending acknowledgement to player ...

      [flexunit] Closing client connection ...

      [flexunit] Closing server on port [1024] ...




      C:\<<Project-Path>>\build.xml:30: The following error occurred while executing this line:

      C:\<<Project-Path>>\build.xml:275: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report