Gunjan’s Weblog

Share your knowledge in Flash and Flex

Cairngorm Plugin January 18, 2009

Filed under: Cairngorm — gunjank @ 11:16 am

Cairngorm Plugin

The Cairngorm Plugin is an Eclipse plugin that augments Flex Builder to provide tooling that improves productivity when developing Cairngorm-based RIAs.

The initial focus of the Cairngorm Plugin is on the Controller. It aims to improve productivity by removing the repetitive action of creating a new Command and associated Event and adding them to the Controller.

It provides a new class wizard for the following Cairngorm artifacts:

  • Controller – creates a new Controller
  • Command – creates a new Event and a new Command and adds them to the Controller.

The class templates used for the codegen are externalized and distributed with Cairngorm. This allows you to modify the templates to support your own code style.

To learn how to use the Cairngorm Plugin please see the Plugin Documentation.

System Requirements

The Cairngorm Plugin has been developed for Flex Builder 3. Please refer to the Flex Builder 3 system requirements.

Installation

Eclipse and Flex Builder

To install the Cairngorm Plugin you will need to have Eclipse and Flex Builder installed.

Firstly, you must install Eclipse. We recommend the Eclipse IDE for Java EE Developers package, which can be downloaded from here.

After you have Eclipse installed you must install the Flex Builder plugins, which can be downloaded from here.

If you are new to Eclipse and want to learn more please see the Eclipse “Getting Started” resources.

Cairngorm Plugin

The Cairngorm Plugin is installed from an Eclipse update site:

Cairngorm

  • Download cairngorm2_2_2beta-bin.zip.
  • Extract the ‘cairngorm2_2_2beta-bin.zip’ on your local machine to a folder of your choice.

This is a beta release to enable use of the Cairngorm Plugin. The SWC has been compiled with Flex 3, which required code changes that we have not yet focused on making backward compatible with Flex 2. It also contains a number of bug fixes (see the release notes for details). We can not guarantee that the final release of 2.2.2 will contain these bug fixes and we may decide to support backward compatibility with Flex 2. These decisions will not be made until the Cairngorm Committee has consulted with the community. At this time we do not recommend that you use this SWC in your projects. You can safely use the Cairngorm Plugin with the Cairngorm 2.2.1 SWC, which can be downloaded from here, it only requires the 2.2.2Codegen-beta distribution for the codegen templates that are packaged with Cairngorm.

 

5 Responses to “Cairngorm Plugin”

  1. Mike Says:

    Just passing by.Btw, you website have great content!

    ______________________________
    Don’t pay for your electricity any longer…
    Instead, the power company will pay YOU!

  2. Ragecreedia Says:

    Great writing:D hope to visit again…

  3. Dude Lebowski Says:

    No one,not even this article, can provide a straightforward explanation as to how to install the cairngorm plugin. No one I’ve spoken with has even gotten it to work.

    Some help?

    • gunjank Says:

      Hi Lebowski,
      To install cairngorm plugin in your flex project use following setps
      1) Download latest swc file for cairngorm plugin (download from adobe.com)
      2)Copy and paste the cairngorm swc in you lib folder under your flex project.
      or
      3)Right click on you flex project (from navigator)>go to properties>flex build path>Library path>add swc ( here give the path for your cairngorm swc.

      Thats it.

      • Dude Lebowski Says:

        I got the .swc part just fine. That’s simple.

        I thought I’d see “Add Cairngorm Project Nature” as described in:

        opensource.adobe.com/wiki/display/cairngorm/Cairngorm+Project+Nature

        So, I was going down the road of Eclipse + Felx Builder, then finding the sites and the update for the Plugin and I get errors. It seems the plugin is in compatible with some other junk I downloaded from the update sites. Any info on that?


Leave a Reply