My favorites | Sign in
Project Logo
                
Search
for
Updated Mar 16, 2008 by boynamedbri
Labels: howto, help, tips, Featured
HOWTOList  

Reflex Unit Users: Configuring a Flex Project

Enabling Metadata

In order to enable metadata support for Reflex Unit, do the following:

  1. Right click on the project and select "Properties"
  2. Go to the "Flex Compiler" tab
  3. In the "Additional compiler arguments" field, ensure you have the following:
  4. -keep-as3-metadata+=Test,TestCase

You may need to clean you project after making this change in order for it to apply.

Reflex Unit Developers: Setting Up a Local SVN Checkout

Configuring Project Directory

If you're using the Flex Builder plugin with Subclipse, then this will not be an issue. If you're using Tortoise SVN though, you'll want to do the following:

  1. Navigate to the root of your project directory
  2. Right click on the "bin" folder and select: "Tortoise SVN" -> "Add to ignore list" -> "bin"

Generating/Updating Documentation

In order to generate project docs from a local SVN checkout simply run the following terminal command from the root of the project:

asdoc -source-path . -doc-sources . -output docs

Setting SVN Mime-Types

  1. Using Tortoise SVN, rick click on your local checkout and go to "Tortoise SVN" -> "Settings"
  2. In the "General" tab, click on the "Edit" button beside "Subversion configuration file"
  3. Make sure the following lines are in the file (and are not commented out)
  4. enable-auto-props = yes
    [auto-props]
    *.gif = svn:mime-type=image/gif
    *.png = svn:mime-type=image/png
    *.jpg = svn:mime-type=image/jpeg
    *.htm = svn:mime-type=text/html
    *.html = svn:mime-type=text/html

Sign in to add a comment
Hosted by Google Code