Skip to main content
Jump to: navigation, search

Corona Demo M4

Eclipse Home Wiki Home

The Corona v0.2.0 demo illustrates basic event collaboration between multiple Eclipse Workbench instances. This demo will be continuously updated as new features and capabilities of Corona are introduced.

The demo includes both client (Eclipse Workbench) and server (Corona server-side Eclipse platform) distributions. These distributions are preconfigured to simplify the use of the demo. These are packaged as follows:

  • corona_0.2.0_demo_server.zip
    • The “server” output from the Corona build
    • Eclipse Equinox runtime
    • Equinox Event bundle
    • ECF v0.8.0 server-side plug-ins
    • intended to be a stand alone, out-of-the-box distribution. Once it is unzipped, it can be used.
  • corona_0.2.0_demo_client.zip
    • The “client” output from the Corona build
    • Equinox Event bundle
    • ECF v0.8.0 client-side plug-ins
    • Intended to be “installed” into an existing Eclipse Workbench IDE. Requires the config.ini to be manually updated.
Note
The corona_0.2.0 demo only works with ECF v0.8.0

Corona Server

  1. Install the Corona server
    1. Download the distribution corona_0.2.0_demo_server.zip
    2. Unzip Corona Server into a directory. We will refer to this directory as <CoronaHome>
  2. Start the Corona Server
    1. Open a shell
    2. Navigate to installation directory of the Corona Server <CoronaHome>/corona_0.2.0_demo_server/eclipse
    3. run the command: <CoronaHome>/corona_0.2.0_demo_server/eclipse/corona

Corona (Workbench) Client

  1. Install Eclipse 3.2RC3 (or later)
  2. Install Corona client plug-ins
    1. Download Corona client distribution corona_0.2.0_demo_client.zip
      Note: distribution includes both Equinox event (org.eclipse.equinox.event) and ECF (org.eclipse.ecf.*) bundles
    2. Unzip Corona client to the Eclipse 3.2RC3 eclipse/plugin folder
    3. Update the Eclipse configuration file eclipse/configuration/config.ini
      1. Modify the settings for osgi.bundles
        1. Find osgi.bundles in the config.ini
        2. Append the following plug-ins names to the end of the osgi.bundles list so these plug-ins will be automatically started
          org.eclipse.ecf@3:start, org.eclipse.corona.ecf.client@4:start, org.eclipse.corona.collaboration.client@5:start
  3. Start Eclipse Workbench
  4. Configure Eclipse Workbench
    1. Modify Corona Preferences
      1. Open the Corona preferences page: Window | Preferences | Corona Collaboration
      2. Set the IP address & port of the Corona server,
        If you have both Corona Server and Eclipse Workbench with Corona Client on the same system the defaults of localhost, and port 47000 should be fine. If however, you have more than one Corona Client make sure the IP address is the IP address of the Corona Server.
  5. Open the Corona Collaboration View
    1. Window | Show Views | Other | Corona Collaboration Views
    2. Select Event List
    3. For more details see Corona Event List
Note
The workgroup collaboration demo works best with 2 or more Eclipse Workbench clients

Create a Collaboration Project

  1. Create Workbench project named "TestCollaboration""
    Note: Do not put any spaces in project name. The project name is used to identify the workgroup. Everyone in the workgroup must use use the same project name for the shared project.
  2. Add Collaboration Nature to project
    1. Right-Mouse-Click on the project, and select Corona Collaboration | Add Nature
      You should get a message that the Collaboration Nature was added and prompted for the IP address and port of the Corona Server to use.
  3. Update the Collaboration Project
    1. Create the source file Test.java
    2. Update the source file Test.java
  4. All local workbench project events should be shared with the workgroup.

Back to the top