Overview

The following sections taking you through downloading and building the SDK. To use to JuiceKit™ for Flex library, you must include a copy of flexlib-1.2.0.swc in your Flex project's build path.

If you are using Flex Builder 3, the simplest approach is to copy flexlib-1.2.0.swc into your Flex project's libs directory. The other approach is to modify your Flex project's "Properties > Flex Build Path > Library Path > Add SWC..." and select the flexlib-1.2.0.swc file.

Requirements

You need to have the following tools to download and build the source.

  • Git, an open source, distributed version control system
  • Apache Maven 2, an open source software project management tool

Downloading the source

You download the current source code from Github by cloning the repository.

$ git clone git://github.com/jonbuffington/juicekit.git

After cloning JuiceKit from github you need to do a submodule update to pull in the patched flare library:

$ cd juicekit
$ git submodule update -i

Building the source

The following command assumes you are using a bash shell (the default on many operating systems). To build the the library from source, issue the following Maven2 command.

$ MAVEN_OPTS="-Xms64m -Xmx256m" mvn clean install site

After the build completes, you will find the flexlib-1.2.0.swc library in flexlib/target/ directory. The flexlib API documentation index will be located at flexlib/target/site/asdoc/index.html.