I have a Flex project component and AIR project unit tests. They build fine with Adobe Flash Builder 4, but I'm trying to write the build.xml automation script using this example: http://docs.flexunit.org/index.php?title=Ant_Task
I fixed the paths in the build.xml, added spark.swc to the libraries, but still get:
"Error: Unable to locate specified base class 'spark.components.WindowedApplication' for component class 'unit_tests'."
Also add airspark.swc. It might be in a sub-folder.
Adding airspark.swc from the air sub-directory did the trick. Thank you!