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"

(Automatic Installation)
(Common install section.)
Line 2: Line 2:
 
The Corona demo assume you have [http://java.sun.com/javase/downloads/index.jsp Java 5] (JDK 1.5) already installed.  
 
The Corona demo assume you have [http://java.sun.com/javase/downloads/index.jsp Java 5] (JDK 1.5) already installed.  
  
=Automatic Installation=
+
=Installation=
 +
There are two installations possible - automatic (recommened) and manual one. Use only one of the methods.
 +
 
 +
==Automatic Installation==
 
In order to use automatic installation script you need to have [http://ant.apache.org/ Ant] installed.
 
In order to use automatic installation script you need to have [http://ant.apache.org/ Ant] installed.
  
Line 12: Line 15:
 
# You can now [[#Running Corona|run corona]] (''<installServer>'' = ./install_server/eclipse ; ''<installClient>'' = ./install_client/eclipse)
 
# You can now [[#Running Corona|run corona]] (''<installServer>'' = ./install_server/eclipse ; ''<installClient>'' = ./install_client/eclipse)
  
==Limit download size==
+
===Limit download size===
 
The script downloads over 200MB of data. Most of it is Eclipse distribution with Web Tools Project. All downloaded packages are listed in [[#Download Corona Requirements|requirements]] below. If you have some of them already downloaded, you can use your local copy instead of downloading it for your own. The do following:
 
The script downloads over 200MB of data. Most of it is Eclipse distribution with Web Tools Project. All downloaded packages are listed in [[#Download Corona Requirements|requirements]] below. If you have some of them already downloaded, you can use your local copy instead of downloading it for your own. The do following:
  
Line 19: Line 22:
 
# Run setup script as in step 3. in previous procedure.
 
# Run setup script as in step 3. in previous procedure.
  
==Partial Installation==
+
===Partial Installation===
  
=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.
  
==Download Corona Requirements==
+
===Download Corona Requirements===
 
* WebTools Platform v. 1.5 all-in-one SDK distribution for [http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.2-200610261841/wtp-all-in-one-sdk-R-1.5.2-200610261841-win32.zip Windows], [http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.2-200610261841/wtp-all-in-one-sdk-R-1.5.2-200610261841-linux-gtk.tar.gz Linux] or [http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.2-200610261841/wtp-all-in-one-sdk-R-1.5.2-200610261841-macosx-carbon.tar.gz Mac OS X] (contains a complete Eclipse 3.2.1 application with WTP, EMF, GEF and JEM frameworks)
 
* WebTools Platform v. 1.5 all-in-one SDK distribution for [http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.2-200610261841/wtp-all-in-one-sdk-R-1.5.2-200610261841-win32.zip Windows], [http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.2-200610261841/wtp-all-in-one-sdk-R-1.5.2-200610261841-linux-gtk.tar.gz Linux] or [http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.2-200610261841/wtp-all-in-one-sdk-R-1.5.2-200610261841-macosx-carbon.tar.gz Mac OS X] (contains a complete Eclipse 3.2.1 application with WTP, EMF, GEF and JEM frameworks)
 
* [http://www.eclipse.org/downloads/download.php?file=/technology/ecf/org.eclipse.ecf.sdk-0.9.1.S20060906.zip Eclipse Communication Framework SDK, v 0.9.1] (full SDK distribution required)
 
* [http://www.eclipse.org/downloads/download.php?file=/technology/ecf/org.eclipse.ecf.sdk-0.9.1.S20060906.zip Eclipse Communication Framework SDK, v 0.9.1] (full SDK distribution required)
Line 35: Line 38:
 
*: A number of libraries used by Corona are not yet supplied with the binary distribution because of on-going IP approval process by Eclipse Committee. You can also download them [[Corona Development Environment#Stub Projects|separately]] on your own. The later description assumes you are downloaded the single package.
 
*: A number of libraries used by Corona are not yet supplied with the binary distribution because of on-going IP approval process by Eclipse Committee. You can also download them [[Corona Development Environment#Stub Projects|separately]] on your own. The later description assumes you are downloaded the single package.
  
==Download Corona==
+
===Download Corona===
 
The latest Corona distribution can be downloaded from [http://www.eclipse.org/corona/downloads/ download Corona]. The distribution consists of two parts:
 
The latest Corona distribution can be downloaded from [http://www.eclipse.org/corona/downloads/ download Corona]. The distribution consists of two parts:
 
# Corona Server - enables collaboration between distributed components, handles event routing and web service calls,
 
# Corona Server - enables collaboration between distributed components, handles event routing and web service calls,
Line 42: Line 45:
 
Some of the plugins in both server and client are just place holders for Apache libraries. They should filled with jars from ''plugins.zip'' as described in the next section.
 
Some of the plugins in both server and client are just place holders for Apache libraries. They should filled with jars from ''plugins.zip'' as described in the next section.
  
==Installation of Platform==
+
===Installation of Platform===
 
You need to install two Eclipse installations, 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>'':
 
You need to install two Eclipse installations, 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>'':
 
#Unzip Web Tools Eclipse application to ''<install>''
 
#Unzip Web Tools Eclipse application to ''<install>''
Line 49: Line 52:
 
#Unzip Apache libraries file (plugins.zip) to ''<install>'' folder
 
#Unzip Apache libraries file (plugins.zip) to ''<install>'' folder
  
==Installation of Corona Server==
+
===Installation of Corona Server===
 
In order to install Corona server use a preprepared ''<install>'' from previous step, which is now called ''<installServer>''
 
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>''
 
*Unzip org.eclipse.corona.server-''{version}''.zip to ''<installServer>''
Line 60: Line 63:
 
  </server>
 
  </server>
  
==Installation of Corona Client==
+
===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>''.
 
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>''
 
*Unzip org.eclipse.corona.client-''{version}''.zip to ''<installClient>''

Revision as of 12:23, 15 November 2006

Prerequisites

The Corona demo assume you have Java 5 (JDK 1.5) already installed.

Installation

There are two installations possible - automatic (recommened) and manual one. Use only one of the methods.

Automatic Installation

In order to use automatic installation script you need to have Ant installed.

The procedure:

  1. Download the automatic installation script (it is packed with zip) - link soon :)
  2. Extract the archive.
  3. Run ant -f setupCorona.xml ; may take some time due to downloads.
    NOTE: if you have to use proxy run it as ant -Dproxyhost=<proxyHost> -Dproxyport=<proxyPort> -Dproxyuser=<proxyUser> --Dproxypassword=<proxyPassword> -f setupCorona.xml. The proxyuser and proxypassword can be removed if your proxy doesn't require authorization.
  4. You can now run corona (<installServer> = ./install_server/eclipse ; <installClient> = ./install_client/eclipse)

Limit download size

The script downloads over 200MB of data. Most of it is Eclipse distribution with Web Tools Project. All downloaded packages are listed in requirements below. If you have some of them already downloaded, you can use your local copy instead of downloading it for your own. The do following:

  1. Create download directory in the directory you have the setup script extracted.
  2. Copy all packages that you have already installed into this directory.
  3. Run setup script as in step 3. in previous procedure.

Partial 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.

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.

Some of the plugins in both server and client are just place holders for Apache libraries. They should filled with jars from plugins.zip as described in the next section.

Installation of Platform

You need to install two Eclipse installations, 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 Apache 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>
  • Replace ECF server configuration <installServer>/plugins/org.eclipse.ecf.server_0.9.1/conf/server.xml with following content:
<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. Run Corona server:
    1. cd to <installServer>
    2. execute eclipse -console -clean
  2. Run Corona client:
    1. cd to <installClient>
    2. execute eclipse -console -clean

Basic Configuration

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