Menu

Get Source Code Log in to Edit

Vinay Sharma
#Get Source Code# ##FlexUnit 4## The information for the FlexUnit 4 source code downloads, both milestone and nightly builds, can be found on the [FlexUnit.org][1] site. ##FlexUnit 0.9## Day to day development work facilitated by the Flex, Flash and ActionScript communities continues on the FlexUnit 4 framework, however FlexUnit 0.9 is not currently under active development. If you simply want to view or work with stable milestone builds, then continue reading for more information about finding this source code. The FlexUnit 0.9 framework is divided across two source control repositories. Release and milestone versions of the FlexUnit 0.9 framework are found among several open-source projects in a [Subversion][2] 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][3]. There are two ways to access the Subversion 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 .9 project, go to [[ nolink arg0='http://opensource.adobe.com/svn/opensource/flexunit' ]][[ /nolink ]]. Within the project are directories named }, }, and }, as is standard for Subversion projects. The trunk is generally 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 }. 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][4]. You can access directories and files inside the project by appending them onto the project's URL. For example, to browse the } directory in the } of the FlexUnit, you can go directly to [[ nolink arg0='http://opensource.adobe.com/svn/opensource/flexunit/trunk/FlexUnitLib' ]][[ /nolink ]]. ## 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 }. We'll assume you're using } in our instructions. You can get the Subversion installer, which includes }, here: * Windows: http://subversion.tigris.org/files/documents/15/39559/svn-1.4.5-setup.exe * Mac: [[ nolink arg0='http://downloads.open.collab.net/binaries.html' ]][[ /nolink ]] * All OSes: [[ nolink arg0='http://subversion.tigris.org/project_packages.html' ]][[ /nolink ]] After installing } using the Windows installer, you should be able to execute } from any directory because it will be found on your }. On Macintosh, test the installation by opening Terminal and executing: [[ noformat ]] svn --version [[ /noformat ]] If you get }, then you'll need to add the } directory onto your }, since this is where } lives. Assuming you're using the default } shell in Terminal, you can do this by putting the following lines into a } file: [[ noformat ]] PATH="/usr/local/bin:$PATH" export PATH [[ /noformat ]] Otherwise, you'll have to invoke } as }. ## Checking out code When you access the repository with a Subversion client, the FlexUnit project is at the URL [[ nolink ]][[ /nolink ]]http://opensource.adobe.com/svn/opensource/flexunit[[ nolink ]][[ /nolink ]]. 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 [[ noformat ]] svn checkout http://opensource.adobe.com/svn/opensource/flexunit [[ /noformat ]] 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][5]. ## Contributing to FlexUnit If you are interested in Contributing to FlexUnit 4, please see the [contributor page at flexunit.org][6]. [[ include ref='site:open_commentlogin' ]] [1]: http://docs.flexunit.org/index.php%3Ftitle%3DDeveloperDocumentation [2]: http://subversion.tigris.org/ [3]: http://svnbook.red-bean.com/ [4]: FlexUnit%20Organization [5]: Build%20and%20Test [6]: http://www.flexunit.org/%3Fpage_id%3D8

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.