2 Replies Latest reply on Jun 17, 2010 9:51 AM by aberfield

    Unable to locate specified base class 'spark.components.WindowedApplication'

    aberfield

      Hi all!

       

      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'."

      From a previous post: http://forums.adobe.com/thread/556432?tstart=0 I see that the compiler error makes sense if you're in a Flex project. My unit tests are AIR project.
        Any suggestions?
      Thanks,
      --Andreea