Updated 8/24/2010 - Flex Library projects have been moved to /frameworks/projects, and compiler projects to /lib and /modules. Using Flex SDK Eclipse Projects =============================== The SDK svn repository also includes sample Eclipse projects to assist testing, debugging and modifying the framework and compiler source. The SDK framework swcs are represented Flex Library projects, and the various modules of the SDK compiler are represented as Java projects. Note that these projects require Flash Builder 4 / Eclipse 3.5 (or later). The Java projects require JDK 1.5.0. If Eclipse is used, the framework projects require Flash Builder 4 plugin. Before importing any projects into a workspace, you must sync the SDK svn repository and check that ant builds successfully. You must also define a few workspace variables so that relative paths resolve to your sync of the SDK. Note that the framework projects do not rely on the compiler module projects, and the compiler module projects do not rely on the framework projects. However, within each type of project, there may be dependencies (such as the rpc project depends on the framework project and so both must be imported in order to use the rpc project). The two types of projects are separated in svn as follows: /frameworks/projects for framework projects /modules and /lib for compiler projects Framework Flex Library projects ------------------------------- To import the Flex Library projects, you need to create a Flex SDK named Flex 4 that should point to your the root of your sync of the SDK in svn. Go to the Window menu and select Preferences..., navigate to Flex > Installed Flex SDKs, then click Add... to add a new SDK. e.g. Flex 4 c:/dev/svn/flex/sdk/trunk Compiler Java projects ---------------------- You must first import the /lib/.project before importing any of the projects under /modules. Also, if you are importing the optional antTasks module you must also create a Java Classpath Variables named ANT17_JAR (that points to the ant.jar file from your installation of ANT 1.7.0). Go to the Window menu and select Preferences..., navigate to Java > Build Path > Classpath Variables, then click the New... button to create a new Classpath Variable. e.g. c:/dev/ant1.7.0/lib/ant.jar ANT17_JAR § Importing projects ------------------ Once you have setup your Eclipse workspace, any required variables and run ant successfully to build the SDK, you can import the SDK projects. Go to the File menu and select Import..., navigate to General > Existing Projects into Workspace, and then click the Browse... button to navigate to your sync of the relevant subdirectories of the SDK from svn. You may include a subset of the projects if you are familiar with the dependencies between them.