FlexUnit fails when doing ant-build
Hello,
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()
[flexunit] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at mx.preloaders::Preloader/timerHandler()
[flexunit] at flash.utils::Timer/_timerDispatch()
[flexunit] at flash.utils::Timer/tick()
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
BUILD FAILED
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
