Skip to content

Preparing Your Machine for CollaboRhythm Development

sgilroy edited this page Jan 19, 2012 · 33 revisions

The steps below describe the process for preparing a computer for CollaboRhythm development. The steps assume that you are working with a computer running Windows 7 and that you do already have any of the prerequisites installed. The tools described here should also work on other operating systems, including Mac OS X, but have not been tested or documented for other environments. If you do try this on another OS, please feel free to make appropriate additions/corrections to this page.

  1. Download IntelliJ IDEA 11.0.1 Ultimate Edition. You must install the Ultimate version, because the Community version does not support Flex/ActionScript development. Note that IntelliJIDEA 11.0.1 Ultimate Edition is a commercial product but a 30 day trial is available, so you should use that. There is a free Open Source Project License available for IntelliJ, but they have some qualifications that we do not yet meet. We hope to meet the criteria soon, and so you may be able to apply for a free license in the near future.

    http://www.jetbrains.com/idea/download/index.html

  2. Install IntelliJIDEA 11.0.1

  3. Run IntelliJ, It will run an “Initial Configuration Wizard”

    a. VCS - disable all except Git.

    b. Web/JavaEE Technology Plugins - disable all

    c. HTML/JavaScript Dev Plugins - leave them all enabled

    d. Maven - disable

    e. Other - leave them all enabled

  4. Download Git (get whatever version is appropriate for your OS)

  5. Install Git and set up Git by following the official guide here: http://help.github.com/win-set-up-git/

  6. In IntelliJ, set the location of the Git executable in the Git page of the Settings dialog box

    a. File -> Settings

    b. Version Control -> VCSs -> Git

    c. Path to git executable: C:\Program Files (x86)\Git\bin\git.exe

  7. Download the latest Flex SDK version 4.6.0.23201B

    http://opensource.adobe.com/wiki/display/flexsdk/download?build=4.6.0.23201B&pkgtype=1

  8. Unzip the file and place the contents of the zip file (readme.htm, ant, asdoc, frameworks, etc.) in a new directory named “4.6.0” in the following location “C:\Program Files (x86)\Adobe\Flex\sdks\4.6.0” (you will need to create this directory). After copying the SDK files you should have the following: “C:\Program Files (x86)\Adobe\flex\sdks\4.6.0\readme.htm”

  9. In IntelliJ, import settings.

    a. Click File -> Export Settings… and backup your own settings first.

    b. Download the CollaboRhythm settings from https://github.com/downloads/newmediamedicine/CollaboRhythm/CollaboRhythm_IntelliJIdea11_Settings_2012.01.10.jar

    c. Click File -> Import Settings…

    d. Select the settings JAR file you downloaded from CollaboRhythm and click OK.

    e. Click OK to import all settings.

    f. Click OK to restart IntelliJ.

  10. In IntelliJ, set the location of the Flex sdk in the Path Variable page of the Settings dialog box

    a. Click File -> Settings

    b. Select “Path Variable”

    c. PROJECT_FRAMEWORKS: C:\Program Files (x86)\Adobe\Flex\sdks\4.6.0\frameworks

  11. Ensure that the SDK settings are correct.

    a. Click File -> Project Structure…

    b. Select “SDKs” under “Platform Settings”

    c. Select “4.6.0 AIR”. AIR SDK home path should be “C:\Program Files (x86)\Adobe\flex\sdks\4.6.0”. If “4.6.0 AIR” does not exist, add it by clicking the Add New SDK button (+) and specifying the correct path.

    d. Select “4.6.0 AIR Mobile”. AIR SDK home path should be “C:\Program Files (x86)\Adobe\flex\sdks\4.6.0”. If “4.6.0 AIR Mobile” does not exist, add it by clicking the Add New SDK button (+) and specifying the correct path.

  12. Download Java SE Development Kit 1.6 Update 25. The link below is for Windows x64. For other operating systems, find a version of Java SDK 1.6. Apparently version 1.7 will not currently work with the current version of Android, so get 1.6.

    http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html

    (This is a dependency for the Android SDK)

  13. Install the Java SE Development Kit 1.6

  14. Download Android SDK (the recommended windows installer)

    http://developer.android.com/sdk/index.html

  15. Install the Android SDK – This will automatically open the Android SDK and AVD Manager. Accept All and Install. (Note that if the Android SDK does not detect that the JDK was installed, click back and then forward again or restart the installation.)