Check-in tests should be run before checking in new changes. It does basic dependency checking and a few check-in tests for mustella.

Trust Files

Due to Flash Player security concerns, you should create or modify the Flash Player trust file to include the framework tests directory.

The trust file is called, dev.trust.cfg, and its contents are the full paths of directory structures containing SWFs that the Flash Player should trust; each directory is on a separate line. The format of the file confirms to the operating system conventions. The location of dev.trust.cfg is also different for each operating system:

On Mac OS X, dev.trust.cfg is in the /Library/Application Support/Macromedia/FlashPlayerTrust directory. Add a line with the full path to the Mustella tests directory; for example: /Users/your account/apache/flex-sdk/frameworks/tests.

On Windows XP, dev.trust.cfg is in the C:\Documents and Settings\YourUser\Application Data\Macromedia\Flash Player#Security\FlashPlayerTrust directory. Add a line with the full path to the framework tests directory; for example: c:\apache\flex-sdk\frameworks\tests.

On Windows 7, dev.trust.cfg is in the C:\Users\YourUser\AppData\Roaming\Macromedia\Flash Player#Security\FlashPlayerTrust directory. Add a line with the full path to the framework tests directory; for example: c:\apache\flex-sdk\frameworks\tests..

On Linux, dev.trust.cfg is in the ~/.macromedia/Flash_Player/#Security/FlashPlayerTrust/ directory and should contain the full path to the tests folder e.g. /opt/flex-sdk/frameworks/tests/

Running Check-in tests

  1. Open up a console or terminal window.
  2. Change the to the Apache Flex SDK root directory.
  3. Run the ant checkintests target by typing the following:

    ant checkintests
  • No labels

1 Comment

  1. On Linux ~/.macromedia/Flash_Player/#Security/FlashPlayerTrust/dev.trust.cfg needs to contain the full path to the checkout