Skip navigation

Trouble Building FlexUnit 4

Apr 29, 2010 12:06 AM

  Latest reply: Michael Labriola, Feb 22, 2011 3:25 PM
Replies 1 2 Previous Next
  • Currently Being Moderated
    Feb 22, 2011 3:14 PM   in reply to mdmave

    Okay, so the turnkey project is a shell. Meaning that it contains all of the code required to demonstrate how unit tests are executed and some type of unit tests you may want to run.

     

    During our build process, we build the FlexUnit libraries and the FlexUnit UI Listener and we shove those into the libraries folder of the turnkey project. The result is the Zip file that Simeon posted. So, if you are syncing the git code, you either need to copy the output of the UIListener project and the FlexUnit project (both swc files) into the libs folder of the Turnkey project, or you need to adjust the turnkey project in your IDE of choice to depend upon the code in the FlexUnit and UIListener projects.

     

    We don't check those binaries into git as they would change with every build... meaning a build would result in a checkin... which would result in a build... which would result in a checkin... you get the point

     

    If you download the zip from the link Simeon posted, you will find that same turnkey project inside, but with all of those libraries already put in the correct place for you.

     

    Right now, you are receiving that error because it wants, but can't find, the UIListener project's swc file.

     

    HTH,

    Mike

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 22, 2011 3:25 PM   in reply to mdmave

    You can create a libs folder for an ActionScript project too. Basically, just create the folder and then add it to the build path.

     

    It just isn't created by default like it is in a Flex project

     
    |
    Mark as:
1 2 Previous Next

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