Adobe Open Source
   Home     Projects     Source     Documentation     Forums    About
Welcome Guest | Sign In
 

Get Source Code

The FlexUnit framework is one of several open-source projects in a Subversion repository hosted by Adobe. Subversion is an open-source revision control system used for many open-source projects. If you haven't used it before, please see the official documentation.

There are two ways to access the repository. You can use any web browser to see the structure of the project and view the latest version of each file. However, you must use a Subversion client to perform more complex operations such as reviewing the commit log, looking at older revisions or diffs, or checking out your own working copy to build and test.

Web browsing

To browse the FlexUnit project, go to http://opensource.adobe.com/svn/opensource/flexunit.

Within the project are directories named trunk, branches, and tags, as is standard for Subversion projects.

The trunk is work-in-progress on the version under current development. The trunk should build and pass any basic tests in place but may be unstable and unsuitable for use.

Branches are created when projects need to stabilize code for a release.

Tags record the code that shipped as a specific release, or other milestones in a project. The code which was used to build the 0.9 release of the FlexUnit has been tagged as tags/0.9. Builds prior to 0.9 are not tagged in SubVersion as this is point at which FlexUnit was added to Adobe Open Source.

This site often uses the word “branch” as shorthand for “trunk, branch, or tag”.

To understand what's where inside each branch, see FlexUnit Organization.

You can access directories and files inside the project by appending them onto the project's URL. For example, to browse the FlexUnitLib directory in the trunk of the FlexUnit, you can go directly to http://opensource.adobe.com/svn/opensource/flexunit/trunk/FlexUnitLib.

Installing a Subversion client

To get your own working copy of the source code, you'll need a Subversion client. A client will also let you see the repository structure, look at the revision history of any file or directory, diff two versions of a file, etc.

The Adobe team has had good experience with TortoiseSVN on Windows and SmartSVN on Macintosh, both of which are GUI clients. (This is not an official endorsement of these products by Adobe.) Of course, you can use whatever client you prefer, including Subversion's official command-line tool svn. We'll assume you're using svn in our instructions.

You can get the Subversion installer, which includes svn, here:

After installing svn using the Windows installer, you should be able to execute svn from any directory because it will be found on your PATH.

On Macintosh, test the installation by opening Terminal and executing:

svn --version

If you get svn: command not found, then you'll need to add the /usr/local/bin directory onto your PATH, since this is where svn lives. Assuming you're using the default bash shell in Terminal, you can do this by putting the following lines into a ~/.bash_profile file:

PATH="/usr/local/bin:$PATH"
export PATH

Otherwise, you'll have to invoke svn as /usr/local/bin/svn.

Checking out code

When you access the repository with a Subversion client, the FlexUnit project is at the URL http://opensource.adobe.com/svn/opensource/flexunit.

To get the entire source code for the project, do a "checkout" from this URL into a local directory on your machine. Using the command-line client, you would execute

svn checkout http://opensource.adobe.com/svn/opensource/flexunit <local-directory>

If you only want the trunk, or a particular branch or tag, adjust the URL appropriately.

Building and testing

If you want to build and test the source code, see How to build and test FlexUnit.

Contributing to FlexUnit

If you want to contribute to the project, see FlexUnit Project Roles and Submitting a Patch.

Change notifications

If you'd like to keep up-to-date on changes to the FlexUnit project, you may subscribe to the Commits forum. Every time anyone commits a change to FlexUnit, a description of that change is posted to this forum. You can request to receive an email for each commit, or to receive a digest on a regular basis.

You must be logged in to comment.
FlexUnit Project
Home
About
Downloads
Source
Bug Database
Submitting a Patch
Developer Documentation
Forums
License
Other Projects
BlazeDS
Flex SDK
Cairngorm
Corelib

More related projects ›
More Adobe projects ›
 
Last Modified: 2008-08-19 07:26:22.0
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki.

Company | Online Privacy Policy | Terms of Use | Contact Us | Accessibility | Report Piracy | Permissions & Trademarks

Copyright @ 2008 Adobe Systems Incorporated.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.
Search powered by Google