Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Corona/Installation"

Line 1: Line 1:
 +
=Automatic Installation=
 +
TBD
 +
 
=Manual Installation=
 
=Manual Installation=
 
Corona consists of two parts - server and client. To try Corona you will usually need both parts installed. But if you already have server running somewhere then you don't need to install server. Both server and client can be installed at the same computer, but you will need two separate Eclipse installations for this. The steps are described below.
 
Corona consists of two parts - server and client. To try Corona you will usually need both parts installed. But if you already have server running somewhere then you don't need to install server. Both server and client can be installed at the same computer, but you will need two separate Eclipse installations for this. The steps are described below.
Line 54: Line 57:
 
##execute eclipse -console -clean
 
##execute eclipse -console -clean
  
==Multi-User Collaboration==
+
=Configuration Basics=
In multi-user collaboration, it is assumed that a Corona server is up and running on a host, (let the server that host Corona is called ''serverHost'').
+
Corona should be ready with default settings just out of the box if you run everything locally. But you may want to change some parameters. Here are some described.
  
To enable multi-user collaboration:
+
==Client Configuration==
* Install Corona clients on machines expected for collaboration
+
Client currently has only one configuration parameter - Corona server address. By default it is ''http://localhost:1080/''. You can modify it in your Eclipse workbench in ''Window -> Preferences ... -> Server settings''. Enter address of Corona server and press OK.
* Select Corona server
+
** Choose Window -> Preferences -> Corona -> Server settings
+
** Enter Corona Server URL
+
* Configure ECF settings as described in
+
[http://wiki.eclipse.org/index.php/Corona_Development_Environment#ECF_Server_Configuration Development Environment]
+
 
+
=Configuration Basics=
+
In order to run Corona server it is required to set container configuration directory:
+
*the directory pointed by ''CORONA_CONFIG_HOME'' system variable. It contains project containers, project containers's properties and team member repositories. An exemplary configuration is located in plugin org.eclipse.corona.container.config/data
+
  
In order to run Corona client it is required to set two parameters:
+
==Server Configuration==
*Corona server settings, which enables to communicate with the server either locally or remotely, default settings are localhost:1080
+
* Server needs a location where project containers are located. By default ''<installServer>''/plugins/org.eclipse.corona.container.config_''{version}''/examples is taken. If you want to keep your containers somewhere else, set system variable ''CORONA_CONFIG_HOME'' with a directory of the same structure as the one in ''<installServer>''/plugins/org.eclipse.corona.container.config_''{version}''/examples.
*''CORONA_CONFIG_HOME'', which enables to read team member repository from an XML file, the configuration will be changed in future versions concerning a general mechanism of authorisation and user verification.
+
* By default most of the default repositories points to ''localhost'' or ''127.0.0.1''. If you want to use Corona not only at a single host, you must modify the addresses with address of your computer. NOTE: the server must be turned off when you modify containers, otherwise your changes may be overwritten.
The settings can be changed in Eclipse IDE by calling Window->Preferencec->Corona
+
* If you want to add your resources, repositories or even project containers, you currently must base on existing project containers. Copy one and modify to meet your needs. If you do this, you MUST modify ''container-uri'' parameter, because it is used as container identifier.
  
==Demo Configuration==
+
=See also=
Project container definition
+
* Next step - demo
Team member repository
+
* [[Corona User Guide|User Guide]]

Revision as of 12:20, 14 November 2006

Automatic Installation

TBD

Manual Installation

Corona consists of two parts - server and client. To try Corona you will usually need both parts installed. But if you already have server running somewhere then you don't need to install server. Both server and client can be installed at the same computer, but you will need two separate Eclipse installations for this. The steps are described below.

Download Corona Requirements

Download Corona

The latest Corona distribution can be downloaded from download Corona. The distribution consists of two parts:

  1. Corona Server - enables collaboration between distributed components, handles event routing and web service calls,
  2. Corona Client - adds collaboration capabilities to Eclipse IDE tool.

Download the 3rd party libraries in a single package, or download them separately on your own. The later description assumes you are downloaded the single package, referred as plugins.zip.

Installation of Platform

You need to install two Eclipse instances, one for Corona Server and one for Corona Client. Let the installation directory be called <install>, but you need to take the procedure twice, once with <installClient> second with <installServer>:

  1. Unzip Web Tools Eclipse application to <install>
  2. Unzip ECF to <install>
  3. Copy add-on Equinox bundles to <install>/plugins
  4. Unzip Apache2 libraries file (plugins.zip) to <install> folder

Installation of Corona Server

In order to install Corona server use a preprepared <install> from previous step, which is now called <installServer>

  • Unzip org.eclipse.corona.server-{version}.zip to <installServer>
  • Edit ECF server configuration <installServer>/plugins/org.eclipse.ecf.server_0.9.1/conf/server.xml that it takes fallowing form:
<server>
  <connector protocol="ecftcp"  hostname="localhost" port="3282" timeout="30000">
    <group name="server"/>
    <group name="corona"/>
  </connector>
</server>

Installation of Corona Client

In order to install Corona client use a preprepared <install> from previous step, which is now called <installServer>. It must be a different location than <installServer>.

  • Unzip org.eclipse.corona.client-{version}.zip to <installClient>

Running Corona

In order to run a full Corona client-server collaboration with default collaboration context, you need to:

  1. Set CORONA_CONFIG_HOME system variable to the absolute path, in which initial project container definitions are located:
    <installServer>/plugins/org.eclipse.corona.container.config_{version}/examples
    The plugin with container definitions is supplied with both client and server distribution.
  2. Run Corona server:
    1. cd to <installServer>
    2. execute eclipse -console
  3. Run Corona client:
    1. cd to <installClient>
    2. execute eclipse -console -clean

Configuration Basics

Corona should be ready with default settings just out of the box if you run everything locally. But you may want to change some parameters. Here are some described.

Client Configuration

Client currently has only one configuration parameter - Corona server address. By default it is http://localhost:1080/. You can modify it in your Eclipse workbench in Window -> Preferences ... -> Server settings. Enter address of Corona server and press OK.

Server Configuration

  • Server needs a location where project containers are located. By default <installServer>/plugins/org.eclipse.corona.container.config_{version}/examples is taken. If you want to keep your containers somewhere else, set system variable CORONA_CONFIG_HOME with a directory of the same structure as the one in <installServer>/plugins/org.eclipse.corona.container.config_{version}/examples.
  • By default most of the default repositories points to localhost or 127.0.0.1. If you want to use Corona not only at a single host, you must modify the addresses with address of your computer. NOTE: the server must be turned off when you modify containers, otherwise your changes may be overwritten.
  • If you want to add your resources, repositories or even project containers, you currently must base on existing project containers. Copy one and modify to meet your needs. If you do this, you MUST modify container-uri parameter, because it is used as container identifier.

See also

Back to the top